So, visual editing...
- creole: I haven't found anything for wikicreole. I just assume its
user base is too small to gather momentum for developing that sort of
editor.
- mediawiki markup: from what I've read here and there, it doesn't
actually have a properly formalised grammar, which makes it really hard
to create a visual editor for it. If we want to go down that route, our
best bet is to follow what wikimedia does...
- html: 2 wysiwyg editors come back everywhere on the internet:
= tinyMCE, used by wordpress
= CKEditor (formerly FCKEditor)
They both seem to handle pretty advanced stuff (tables, media
insertion, text formatting, and more joy...) and the difference between
them seems to boil down to a matter of personal preferences. I've read
a bunch of comparisons at various points in time. Basically, it would
seem that tinyMCE was ahead in the times of FCKEditor, but the revamp
into CKEditor seems to have closed the gap, and possibly the latter is
better now. Their code is decently commented and they both feature a
plugin mechanism which we could use to tie in internal page linking,
wiki media upload/linking, etc... I think we could shoehorn our audio
recorder in there to allow for on-the-spot audio insertion in text
pages and that sort of stuff, which would rock!
= there's this wysiHTML5 which doesn't really belong in the same
category. It doesn't directly allow to work on tables or anything
advanced (it offers an insertHTML() method which can be used for that
purpose, but all the logic + UI has to be built for it). It certainly
is lighter, but requires us to construct an entire UI around it. Not
sure this is worth the effort, when great stuff is available elsewhere.
=
aloha-editor.org which is pretty impressive (try their online demos,
though I find the ones in the source more helpful). A big advantage I
see to it is that the editor works on the DOM, as opposed to editing
HTML code, which means there is no HTML code view either, seriously
limiting the risk for crappy/dangerous input. A quick look at the
source produced is a lot more promising than tinyMCE/CKEditor (read:
cleaner). It seems to be the upcoming thing, with a pretty active
community around it.
A couple issues I can see with it:
- it's 3 to 5 times heavier than the other guys (that's a guestimate
based on their demos VS other demos, but since they didn't optimise
anything, and it's very modular, there's probably room for improvement,
PageSpeed addon for chromium says we can cut code size by ~half just
with basic compression)
- it's a bit less browser compatible than others (IE6-7 not supported)
but we don't support these for flashcard deck based editing either, so
I wouldn't call it a problem. Mobile editing isn't supported yet either.
- it's much younger than other editors (first release dates back only 2
years), so it may not be as stable. However, the concept behind it is a
generation ahead.
There are other editors, but they are either far behind, or support has
been dropped (from what I've seen).
Having spent a few hours working on a separate wordpress project for a
friend, I'm convinced that visual editing is the way to go. Creating a
few pages on wordpress takes minutes, and you don't need to go looking
around for documentation when you forgot how to achieve this or that
result.
A few advantages I see to HTML:
- can't think of a more widely supported markup. It has grammar,
support for more stuff than we can think of, a standardising org behind
it, etc...
- all sorts of tools are available for it, I'm thinking parsers,
sanitisers, converters... Importing all the FSI content to HTML would
boil down to ... uploading files, or almost. With a bit of luck,
importing content from other freely licensed sites could be as simple
as copy/pasting
- security issues: wysiHTML5 recommends using
https://github.com/jsocol/bleach to sanitize HTML on the server side.
It's a whitelisting system, which would be needed regardless of the
editor used.
So this was a completely biased review. Feel free to re-establish some
neutrality!