Is it possible to change inline styles to a class name. For our site we don't want to have inline styles on items because of the WCAG (http://www.w3.org/TR/WCAG10/)
If you create a stylesheet in the admin you can then alter the Rich Text Editor DataType, you can add a stylesheet to the Styles dropdown box.
It's best if you create the stylesheet in the Admin then rather than populating the file yourself Click "Create" add each style individually
You can then add the alias as h1 or .className. The style here just affects how it looks in tinyMCE so be sure to add a matching style in your main stylesheet.
TinyMCE Inline Styles replace by class attributes
Is it possible to change inline styles to a class name. For our site we don't want to have inline styles on items because of the WCAG (http://www.w3.org/TR/WCAG10/)
Is there a configuration for in U7?
Yes,
If you create a stylesheet in the admin you can then alter the Rich Text Editor DataType, you can add a stylesheet to the Styles dropdown box.
It's best if you create the stylesheet in the Admin then rather than populating the file yourself Click "Create" add each style individually
You can then add the alias as h1 or .className. The style here just affects how it looks in tinyMCE so be sure to add a matching style in your main stylesheet.
Let me know if you have any more questions.
But does this also work for buttons like align right. Currently it returns style="text-align: right;"
I don't think, just add a style for align right..
is working on a reply...