WYSIWYG Editing

My understanding is that this is not an either/or decision. The decision is whether to allow GUI editing as an option alongside Wiki markup. In that light, many of the pros and cons come down to personal opinion. If some feel more productive using wiki markup they can, if others find the initial learning curve intimidating they can use the GUI editor. If some functionality isn't available in the GUI, then GUI users can either do without, or switch to text mode to add those features.

The key as I see it, is whether the use of the GUI editor to edit a page will remove or "break" existing functionality/formatting on a page created using plain text markup.

I'm not clear on the practical implications of Macros and parsers not being supported in the GUI editor. (from MoinMoin site):

This text is confusing to me, but my current impression is that you can type in Macros in the GUI editor and they will be recognized when you press Save or Preview. Has anyone tried this out?

It seems that Moon is making good progress on his Google Summer of Code project. Hopefully a number of the current issues with GUI editing will be sorted by the Northern hemisphere Autumn. -- RicSherlock 2008-08-08 02:10:40


Caveat emptor: these are just a few quirks I noticed circa v 1.5 and they are still there.

It is very hard to produce a very good WYSIWYG editor that would maintain the integrity of the underlying markup. For example, FrontPage does a good job, having set up whitespace and line breaks treatment for each tag and having the split screen mode to keep an eye on what it's doing; Visual Studion only in version 2005 achieved more or less acceptable treatment of source code in design mode. So it is unrealistic to expect it from a simple tool like HTML on-page editor.

A differentiating solution would allow certain pages to be edited in GUI, such as created and maintained by novice users (because it is primarily the argument of entrance barrier while advanced users don't care about GUI); and prevent editing other pages in GUI and only allow Text mode. While there is no such thing as WYSIWYG attribute that can be attached on per-page basis, this can be done as follows: a "TrustedGroup" created, intermediate between EditGroup and WikiGroup, to which people "graduate" when they feel fluent in Text mode, can respect Text mode format and be careful when making changes. Then attaching an ACL for TrustedGroup would require elevated competence to make changes and protect text format integrity.

-- OlegKobchenko 2008-08-10 08:39:51


I think we have to be careful about the use of the phrase "no support", it is non-specific and not very helpful when trying to make an informed decision. For example, from my experiments with inline code in the WYSIWYG editor, although I couldn't work out a way of formatting text as inline code in the editor so it was immediately displayed correctly in the editor,

Of the three quirks mentioned, only the last one seems to me to be relevant to the decision of whether to allow the GUI editor as an option.

The ability to identify a page as only editable in Text-mode would be a nice option if possible and would enable us to offer the GUI option while keeping some pages "safe". The idea of using ACL groups to implement something similar is good, but my preference would be to keep things simple if possible. If we decided it was worth trying the GUI editor option, would we be able to trial it first to see what, if any, problems it caused before implementing the ACL groups idea, or removing the GUI option altogether?

-- RicSherlock 2008-08-12 12:25:43


I just noticed the following comment on Moon's Summer of code page. This is the elusive functionality that we discussed above, but unfortunately is still only an idea! It is promising that he is unsure whether the functionality is needed following his updates to the GUI editor.

-- RicSherlock 2008-08-19 18:56:39

WikiGroup/Upgrade/Discussion (last edited 2009-05-20 04:43:44 by OlegKobchenko)