On 11/29/2010 06:06 PM, Jerome Velociter wrote:
That's cool.
Will you provide a UI in the admin section for when it's enabled ?
Not for 2.7. But it would be nice to have one later. The WYSIWYG editor can take the style names configuration from one of XWiki.XWikiPreferences' properties. Since the format is JSON it should be pretty easy to create a UI to fill that property. Thanks, Marius
+1 to have it in XE 2.7
Jerome On Mon, Nov 29, 2010 at 5:01 PM, Marius Dumitru Florea <[email protected]> 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.
Thanks, Marius _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs