FCKEditor css

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
6/11/2006 1:04:56 PM
Gravatar
Total Posts 11

FCKEditor css

I'm wanting to modify the FCKEditor but am not able to find what css is being used...
6/11/2006 1:11:34 PM
Gravatar
Total Posts 18439

Re: FCKEditor css

The look of the editor itself is determined by the editor skin set in SiteSettings.

You can create custom skins for the editor by copying one of the installed ones and modifying it.

They live in the folder /Web/FCKeditor/editor/skins.

You may be able to learn other customizations by downloading from the FCK site and looking in the documentation that comes with it.

Hope it helps,

Joe
6/11/2006 1:36:52 PM
Gravatar
Total Posts 11

Re: FCKEditor css

/Web/FCKeditor/editor/skins is where I've been looking but I've been unable to change the editors initial alignment or background colour.  Although I'm quite tierd now as I've been working on the portal all day.
6/11/2006 1:47:54 PM
Gravatar
Total Posts 18439

Re: FCKEditor css

The editor uses the same css as the page because it is set like this in the HtmlEdit.aspx.cs for example.

fckBody.Config["EditorAreaCSS"] = SiteUtils.GetStyleSheetUrl();

Generally this is a good idea because you want things to look the same in th editor as they will in rendered page.

I have seen some issues in certain skins that are using center alignment like centered1, the text in the editor appears centered even though it won't appear centered when rendered.

I think this can be fixed with further tweaking of the style.css file for the skin

Hope it helps,

Joe
6/11/2006 8:58:48 PM
Gravatar
Total Posts 11

Re: FCKEditor css

Thanks Joe, with your tip and fresh eyes I've sorted it out by adding a class in the <body class="mysite"> of layout.master and in style.css removing the center and colours from the body class and put them into the new class body.mysite.
6/12/2006 1:18:46 PM
Gravatar
Total Posts 18439

Re: FCKEditor css

Good solution! I'll do the same in the built in skins that use centered layout.

Thanks,

Joe
You must sign in to post in the forums. This thread is closed to new posts.