Hello Community,
quite a while ago there was a discussion about how to improve the usefulness of the style selectboxes of tinyMCE and CKEditor. As both editors parse stylesheet.css to fill this box with the defined classes, it is often cluttered with classes that are not intented to be used in the content (but instead for header, footer, wrappers etc.). Finally Gert came up with a good idea: add all styles that are necessary for the content to stylesheet.css, and put everything else to another stylesheet. Include this second stylesheet directly from template.htm.
Perhaps something to consider for template designers. Anyway, this might be a useful technique for users (particularly webdesigners).
Christoph
Style-Selectbox
Style-Selectbox
Christoph M. Becker – Plugins for CMSimple_XH
Re: Style-Selectbox
Thanks. I have actually think a out this before. I jus was not sure if it wouldn't slow down the page loading.
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Style-Selectbox
Well, yes, it needs an additional request (unless HTTP/2.0 is used). Also note that this technique might not work with TinyMCE 4 and maybe other editors. I don't know if there are alternative soltutions for these editors, though.Tata wrote:I jus was not sure if it wouldn't slow down the page loading.
Christoph M. Becker – Plugins for CMSimple_XH