[xwiki-devs] New administration section for the WYSIWYG editor
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
Big +1 This will be a lot more intuitive then the current customization approach. Thanks, Florin Ciubotaru On Tue, Nov 30, 2010 at 12:45 PM, Marius Dumitru Florea < [email protected]> wrote:
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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
Hi, +1 as well, I've had the request from users to modify WYSIWYG parameters multiple times in the past and it's always been a big PITA, this will be a great improvement. Guillaume On Tue, Nov 30, 2010 at 11:56, Florin Ciubotaru <[email protected]> wrote:
Big +1
This will be a lot more intuitive then the current customization approach.
Thanks, Florin Ciubotaru
On Tue, Nov 30, 2010 at 12:45 PM, Marius Dumitru Florea < [email protected]> wrote:
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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+1 On Tue, Nov 30, 2010 at 12:56, Florin Ciubotaru <[email protected]> wrote:
Big +1
This will be a lot more intuitive then the current customization approach.
Thanks, Florin Ciubotaru
On Tue, Nov 30, 2010 at 12:45 PM, Marius Dumitru Florea < [email protected]> wrote:
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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+0 On Tue, Nov 30, 2010 at 11:45, Marius Dumitru Florea <[email protected]> wrote:
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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
+1 On Tue, Nov 30, 2010 at 11:45 AM, Marius Dumitru Florea <[email protected]> wrote:
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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+1, with one remark, see below. On Tue, Nov 30, 2010 at 11:45 AM, Marius Dumitru Florea <[email protected]> wrote:
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]
I'd rather plug this to the user's editor preference. Imho we should try not to have "WYSIWYG" and "Wiki" in our list of editors but only "Content", with the source tab loaded by default for users which prefers to edit wiki syntax directly, WDYT ?
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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+1 Also agreeing with JV regarding the WYSIWYG source vs Wiki editor confusion, but this is probably another matter since users like me which does not use the WYSIWYG editor do not want to suffer the load of the WYSIWYG editor just to edit the source. Denis On Tue, Nov 30, 2010 at 12:19, Jean-Vincent Drean <[email protected]>wrote:
+1, with one remark, see below.
On Tue, Nov 30, 2010 at 11:45 AM, Marius Dumitru Florea <[email protected]> wrote:
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]
I'd rather plug this to the user's editor preference. Imho we should try not to have "WYSIWYG" and "Wiki" in our list of editors but only "Content", with the source tab loaded by default for users which prefers to edit wiki syntax directly, WDYT ?
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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Denis Gervalle SOFTEC sa - CEO eGuilde sarl - CTO
On Tue, Nov 30, 2010 at 3:37 PM, Denis Gervalle <[email protected]> wrote:
+1
Also agreeing with JV regarding the WYSIWYG source vs Wiki editor confusion, but this is probably another matter since users like me which does not use the WYSIWYG editor do not want to suffer the load of the WYSIWYG editor just to edit the source.
I understand your concern but the WYSIWYG tabs have been implemented so that most of the loading (js execution that is) happens when switching to the WYSIWYG tab. At least the first implementation was working like this. JV.
On 11/30/2010 04:46 PM, Jean-Vincent Drean wrote:
On Tue, Nov 30, 2010 at 3:37 PM, Denis Gervalle<[email protected]> wrote:
+1
Also agreeing with JV regarding the WYSIWYG source vs Wiki editor confusion, but this is probably another matter since users like me which does not use the WYSIWYG editor do not want to suffer the load of the WYSIWYG editor just to edit the source.
I understand your concern but the WYSIWYG tabs have been implemented so that most of the loading (js execution that is) happens when switching to the WYSIWYG tab. At least the first implementation was working like this.
The implementation has changed a bit since. Anyway, the JavaScript code (~500KB) still needs to be evaluated even if the part that is executed afterwards, when Source is the default tab, is insignificant. Thanks, Marius
JV. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On Nov 30, 2010, at 4:08 PM, Marius Dumitru Florea wrote:
On 11/30/2010 04:46 PM, Jean-Vincent Drean wrote:
On Tue, Nov 30, 2010 at 3:37 PM, Denis Gervalle<[email protected]> wrote:
+1
Also agreeing with JV regarding the WYSIWYG source vs Wiki editor confusion, but this is probably another matter since users like me which does not use the WYSIWYG editor do not want to suffer the load of the WYSIWYG editor just to edit the source.
I understand your concern but the WYSIWYG tabs have been implemented so that most of the loading (js execution that is) happens when switching to the WYSIWYG tab. At least the first implementation was working like this.
The implementation has changed a bit since. Anyway, the JavaScript code (~500KB) still needs to be evaluated even if the part that is executed afterwards, when Source is the default tab, is insignificant.
Still we should allow integrators to create a wiki without any wysiwyg editor and only a wiki editor should they want this. If they want to embed a wiki for example in their own application it has to be as lightweight as possible and not having to include any GWT jars will make it lighter. On my side, I still don't like very much at all this source tab since it's confusing and it means we have 2 wiki editors. We need to decide something on this - in another thread.... Who wants to start it? Thanks -Vincent
Ok then I'm -1 with my previous remark. JV. On Tue, Nov 30, 2010 at 4:08 PM, Marius Dumitru Florea <[email protected]> wrote:
On 11/30/2010 04:46 PM, Jean-Vincent Drean wrote:
On Tue, Nov 30, 2010 at 3:37 PM, Denis Gervalle<[email protected]> wrote:
+1
Also agreeing with JV regarding the WYSIWYG source vs Wiki editor confusion, but this is probably another matter since users like me which does not use the WYSIWYG editor do not want to suffer the load of the WYSIWYG editor just to edit the source.
I understand your concern but the WYSIWYG tabs have been implemented so that most of the loading (js execution that is) happens when switching to the WYSIWYG tab. At least the first implementation was working like this.
The implementation has changed a bit since. Anyway, the JavaScript code (~500KB) still needs to be evaluated even if the part that is executed afterwards, when Source is the default tab, is insignificant.
Thanks, Marius
JV. _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 11/30/2010 04:37 PM, Denis Gervalle wrote:
+1
Also agreeing with JV regarding the WYSIWYG source vs Wiki editor confusion, but this is probably another matter since users like me which does not use the WYSIWYG editor do not want to suffer the load of the WYSIWYG editor just to edit the source.
Indeed, this needs another discussion. There is also some work to do in order to integrate the current wiki editor with the WYSIWYG source tab. Thanks, Marius
Denis
On Tue, Nov 30, 2010 at 12:19, Jean-Vincent Drean<[email protected]>wrote:
+1, with one remark, see below.
On Tue, Nov 30, 2010 at 11:45 AM, Marius Dumitru Florea <[email protected]> wrote:
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]
I'd rather plug this to the user's editor preference. Imho we should try not to have "WYSIWYG" and "Wiki" in our list of editors but only "Content", with the source tab loaded by default for users which prefers to edit wiki syntax directly, WDYT ?
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 _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
On 11/30/2010 11:45 AM, Marius Dumitru Florea wrote:
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.
+1.
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 ...]
+0: - I'd like the Source tab to be disabled by default - I'm not sure the initially selected tab works well as a separate option, since it can be set to a disabled tab. Actually I don't think it makes sense to use the WYSIWYG editor in Source mode by default, that's what the Wiki editor is for. - How do we make the other options intuitive? Providing a plain text input where the admin must enter valid names is not intuitive and prone to errors. This option would at least require very good documentation (and visibly linked from that field). An alternative is to provide a mechanism for listing these options (Wysiwyg.getAvailableToolbarItems) which then populates a list of checkboxes.
Link settings -------------
Limit attachment selection to the edited page [Yes/No]
+1. Default target?
Image settings --------------
Allow insertion of external images [Yes/No] Limit image selection to the edited page [Yes/No]
+1. Automatically link to the image?
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]
-0. I'm not sure this is really relevant enough. IMO it just adds extra complexity without too much value.
Font settings -------------
The list of available font names [andale mono, arial, arial black, ...] The list of available font sizes [8pt, 10pt, 12pt, ...]
Same concern as above, but +0, since this is a bit more important.
Style settings --------------
The list of predefined styles []
+1. Again, this will need some help to let people know what must be used here, and how to create new styles. -- Sergiu Dumitriu http://purl.org/net/sergiu/
On 11/30/2010 05:32 PM, Sergiu Dumitriu wrote:
On 11/30/2010 11:45 AM, Marius Dumitru Florea wrote:
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.
+1.
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 ...]
+0: - I'd like the Source tab to be disabled by default - I'm not sure the initially selected tab works well as a separate option, since it can be set to a disabled tab. Actually I don't think it makes sense to use the WYSIWYG editor in Source mode by default, that's what the Wiki editor is for. - How do we make the other options intuitive? Providing a plain text input where the admin must enter valid names is not intuitive and prone to errors.
This option would at least require very good documentation (and visibly linked from that field).
The administration section is generated automatically from the ConfigurableClass. Adding links to the documentation near each field or detailed help labels is not straightforward.
An alternative is to provide a mechanism for listing these options (Wysiwyg.getAvailableToolbarItems) which then populates a list of checkboxes.
It's not that simple. The order in which the items appear in the list is important.
Link settings -------------
Limit attachment selection to the edited page [Yes/No]
+1.
Default target?
Target as in target="_blank"? This parameter is not currently available. I listed only current parameters. We can add others later.
Image settings --------------
Allow insertion of external images [Yes/No] Limit image selection to the edited page [Yes/No]
+1.
Automatically link to the image?
Unavailable.
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]
-0. I'm not sure this is really relevant enough. IMO it just adds extra complexity without too much value.
This parameters are currently available. I think we should expose all global (i.e. not instance) parameters in the administration section. Relevance is subjective. I imagine there are users who want to customise the colors of the color picker. Thanks, Marius
Font settings -------------
The list of available font names [andale mono, arial, arial black, ...] The list of available font sizes [8pt, 10pt, 12pt, ...]
Same concern as above, but +0, since this is a bit more important.
Style settings --------------
The list of predefined styles []
+1. Again, this will need some help to let people know what must be used here, and how to create new styles.
participants (10)
-
Denis Gervalle -
Ecaterina Moraru (Valica) -
Florin Ciubotaru -
Guillaume Lerouge -
Jean-Vincent Drean -
Marius Dumitru Florea -
Marta Girdea -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol