WYSIWYG indent button

Hi there,


I've noticed that the indent button in the WYSIWYG editor wraps the selected text in BLOCKQUOTE tags.



In our style sheets we have added a style for the BLOCKQUOTE tag with a different sized font and quotation graphics, assuming it will be used in the sematically correct way (i.e. for quotations). However, when our publishers are using the WYSIWYG editor and using the indent button their text is being styled up to look like a quote - not really what they had in mind.



The W3C indicates that BLOCKQUOTE is intended for quotations (and using it to indent text is akin to abuse of the tag).



I understand why the indent might use BLOCKQUOTE - the tag has been abused in this way for a long time. And we could use style for our quotations and leave the BLOCKQUOTE as an indent. However, I'd also like to think we could have semantically correct mark-up.



Any ideas?

We leave the indenting to the browser. I think IE uses BLOCKQUOTE tags to do that Firefox uses margins.


To fix this, we'd have to write our own implementation.

If they want an indented style for indenting, you could add it to the stylesheet. An item should appear in the style dropdown in the WYSIWYG toolbar for that.


It'd be fun if we could add custom buttons to the toolbar to apply certain common styles.