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.
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.
Anyone know where I can set CSS values for the editor controls? I need to change the text and background colors.
Thanks
ClientScript\fckeditor266\editor\css
In your layout.master you should have <body class='pagebody'>
Then in CSS
body{} controls the editor background and foreground
and
body.pagebody {} is where you put colors for the page itself
Hope it helps,
Joe
But if you want to synch your custom css (like the one you might use in the the html modules) you need to edit the fck css, correct?
I'm not aware of any need to modify editor specific css files. By default mojoportal uses the same css in the editor as in the site so if the site has a background color it also would show in the editor which is not always wanted so the pagebody solution is meant to allow a different background and forecolor in the editor than is used on the site since the body tag in the html for the editor does not have the pagebody class.
Best,
What I meant is, if one defines a custom class to be used for some html modules how do I make values for html tags (defined in that class) appear in the text tags dropdown of the editor?
Lets say I define <h1> to be Lucinda Sans, 14, Orange, Bold in class htmlmodule123. How do I make this particular h1 appear on the style text formatting dropdown of fck? I thought (have not tried that yet - on my to do list) one has to eupdate the config of the editor and add those styles there.
Back in the old days there was an xml file you could use to customize this in FCKeditor, but quite a while ago we implemented style templates that integrate into all of the supported editors.
http://www.mojoportal.com/creating-content-style-templates.aspx