[xwiki-devs] New administration section for the WYSIWYG editor

Marius Dumitru Florea mariusdumitru.florea at xwiki.com
Tue Nov 30 11:45:37 CET 2010


Hi devs,

I'd like to add a new administration section for the WYSIWYG editor. For 
this I'll create a new page:

XWiki.WysiwygEditorConfig (storing the WYSIWYG editor configuration 
class/object and the XWiki.ConfigurableClass objects)

Is this fine with you? I don't think a separate application is needed yet.

The WYSIWYG editor configuration will contain there sections/properties:

General settings
----------------

Display the WYSIWYG/Source tabs [Yes/No]
The editor tab selected initially [WYSIWYG/Source]
The list of enabled plugins [submit line separator ...]
The top menu items [link image table macro import]
The list of tool bar items [bold italic underline ...]

Link settings
-------------

Limit attachment selection to the edited page [Yes/No]

Image settings
--------------

Allow insertion of external images [Yes/No]
Limit image selection to the edited page [Yes/No]

Color settings
--------------

The colors available in the color picker 
[#000000,#444444,#666666,#999999,#CCCCCC ...]
The number of colors to display per row in the color picker [8]

Font settings
-------------

The list of available font names [andale mono, arial, arial black, ...]
The list of available font sizes [8pt, 10pt, 12pt, ...]

Style settings
--------------

The list of predefined styles []

WDYT?

Thanks,
Marius


More information about the devs mailing list