Page 1 of 1


Posted: Fri Jun 15, 2012 4:29 pm
by cmb
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).


Re: Style-Selectbox

Posted: Wed Nov 23, 2016 5:44 pm
by Tata
Thanks. I have actually think a out this before. I jus was not sure if it wouldn't slow down the page loading.

Re: Style-Selectbox

Posted: Sat Nov 26, 2016 7:08 pm
by cmb
Tata wrote:I jus was not sure if it wouldn't slow down the page loading.
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.