Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Stuart Burrows 61 posts 110 karma points
    Feb 24, 2011 @ 11:43
    Stuart Burrows
    1

    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

Please Sign in or register to post replies

Write your reply to:

Draft