On Monday 14 June 2004 16:28, Evan Prodromou wrote:
I'd like to point out this page for those
interested in WYSIWYG:
http://meta.wikipedia.org/wiki/WYSIWYG_editor
An interesting article, thanks.
There are WYSIWYG HTML editors built into the two main
browsers, which
have been used successfully for a few CMS servers. This is probably a
more fruitful path to follow than developing a custom Java applet.
I think I'm going to have to try it and see how far I get. Personally I don't
like the idea of relying on the user having one of the two main browsers (is
that MSIE and moz?).
The javax.swing.text RTE classes pretty much have a stylised editor built in,
and can be used without too much fuss to edit HTML, wiki, and whatever
formats we want to use it for. This way could be much more powerful and be
used with a wider range of browsers. Of course it would still require a JRE
plugin, but at least not anything wikipedia specific has to be installed and
is not a browser specific solution.
Syntax highlighting of the wikitext is something I'd really like to develop
for 'power editing'. And with an applet it would be pretty easy to do both at
once, since rendering of Elements is delegated to seperate View objects. It'd
be pretty sweet to have one ViewFactory object for whysiwyg-ish rendering
Views and another factory for syntax-highlighted, but the rest of the editor
code just the same :)
Anyway, I'm just going to go off and write some alpha code, come back and see
what you all make of it.