I've setup my Richtext datatype so that it draws styles from two separate stylesheets. One (default.css) has all my default sizes and colours etc - the other (userselectable.css) is used only to populate the styles dropdown. This works perfectly - exactly as I planned.
The issue is that when I insert a table the class options are drawn from both stylesheets - not just the latter. I have several classes in default.css that I do not want to be selectable. Why does the table class selector act differently to the styles dropdown? Is there any way to make them behave the same?
Not sure if this is a bug or a feture - but either way I want to get rid of it! Any help is appreciated!
Table classes in Richtext editor
Hi all,
I've setup my Richtext datatype so that it draws styles from two separate stylesheets. One (default.css) has all my default sizes and colours etc - the other (userselectable.css) is used only to populate the styles dropdown. This works perfectly - exactly as I planned.
The issue is that when I insert a table the class options are drawn from both stylesheets - not just the latter. I have several classes in default.css that I do not want to be selectable. Why does the table class selector act differently to the styles dropdown? Is there any way to make them behave the same?
Not sure if this is a bug or a feture - but either way I want to get rid of it! Any help is appreciated!
Thanks,
Stuart
is working on a reply...