[Radiant] WYSIWYG anyone?

Jonathan Camenisch jonathan at alaythia.com
Fri Oct 27 11:03:45 CDT 2006


John, I apologize for bringing up a topic that you're not too enthused
about. But if anyone here wants to make a WYSIWYG editor for Radiant that
produces (or at least encourages) good, semantic markup, you might be
interested in this project: http://apps.carleton.edu/opensource/loki/.

It would probably be considered "pre-alpha", and so far it relies on some
PHP stuff, but the goal and direction of the project (minimal, with
standards-compliant output) might make it a better starting point than
TinyMCE or anything else. The developers would appreciate constructive
criticism as well as contributions.

Here are some caveats from Matt Ryan at Carleton -

> 1. It is still referring to some css outside its package that won't
> exist on someone else's site.  This doesn't really cause any problems
> other than js perhaps complaining in the console.

> 2. The javascript you actually have to put in your page can be
> extensive. We have dealt with that by writing a PHP class that handles
> all the js insertion, but since you are using Ruby on Rails, you might
> have to either write your own Ruby wrapper, somehow execute PHP (that
> might be ugly), or help us by figuring out how to simplify the js
> needed to actually be on the page itself. The Ruby wrapper would be
> nice to have, since then other Ruby/Rails developers could easily plug
> Loki into their apps. The simplification would be nice, too, though.

> 3. The tool is actually still producing html.  Well-formed html, but
> not true xhtml.  It's not a big issue for us, because we use Tidy to
> xhtmlify the output, but obviously we want it to produce real xhtml.
> It's a little embarrasing to be showing this to the public without
> genuine xhtml coming out, but so it goes. I suspect we can fix this by
> simply changing the doctype of the iFrame that contains the editing
> area, but I'm not the real developer, so I'm not sure.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20061027/95474037/attachment.html


More information about the Radiant mailing list