On 11/29/2010 05:01 PM, Marius Dumitru Florea wrote:
Hi devs,
I'd like to introduce a new feature in the WYSIWYG editor in XE 2.7: the ability to apply predefined custom styles to a text selection. Using this instead of the other text formatting features (e.g. font name, font size, text color etc.) can help improve the consistency between wiki pages.
Wiki administrators will be able to define a list of custom styles (CSS class names) which will be listed in a select box on the WYSIWYG tool bar. These styles should have meaningful names, e.g. "important", "comment", "todo" etc..
Considering that this feature is independent and will be disabled by default (i.e. we don't provide predefined styles in the standard XE distribution) I think it's save to introduce it in 2.7. Let me know if you are against it.
+1 for providing a WYSIWYG tool for applying predefined styles to selected characters or blocks of text. +1 for having style == CSS classname. I'd rather have the administration part done as well, but since it's not critical at the moment, I'm OK with postponing this part, so that we at least have the WYSIWYG UI done. Vincent, this isn't adding new macros to macros.vm, but merely changing the code of existing macros. -- Sergiu Dumitriu http://purl.org/net/sergiu/