I have evaluated a number of web-based editors recently (including htmlarea and xinha) but found TinyMCE and FCKeditor (http://www.fckeditor.net/) to be the two top-editors currently available. I would favor one of these two.

Regards,

Dave


André van Toly wrote:
Op 10-jul-2006, om 13:55 heeft Pierre van Rooden het volgende geschreven:

I'm in favour of dropping htmlarea for a version which we don't maintain
ourselves.  Honestly, I did not succeed to get xinha working in
editwizards, but I trust that it will simply work fine after you're
ready.

I tried xinha but it totally broke the wizards.
The xinha javascript throws the error : xinha_config not defined'.
After that, the cancel button doesn't work, nor does calling a subwizard. The area doesn't show either.
Some help here is appreciated.

Btw, I also get errors from the datepicker javascript, and for some vague reason the datepicker image is blown out of proportions and takes up the entire screen. I don't think it's related, but I am pretty sure mister Tang Lin never grasped the concept of semicolons (whose absense causes some of the issues).

I am rather charmed by TinyMCE: http://tinymce.moxiecode.com/

It took me absolutely no effort to integrate it in the editwizards. By pasting the following code in /mmbase/edit/wizard/jsp/settings.jsp it already started renedering all <textarea>'s with an HTML-editor

<!-- tinyMCE -->
<script type="text/javascript" src="<mm:url page="/tinymce/jscripts/tiny_mce/tiny_mce.js" />"><!-- MSIE needs this --></script>
<script type="text/javascript">
tinyMCE.init({
    mode : "textareas",
    theme : "simple"
});
</script>
<!-- /tinyMCE -->

I will attach my 'settings.jsp' so you can try it out yourself. The directory with TinyMCE has to live in your webapp's root in this example. I trust it is rather easy to integrate it in the editwizards to make sure only ftype="html" gets rendered with an HTML-editor. It can clean HTML (maybe Nadia can test this to make sure html from their cloud still renders OK) and it can produce standards compliant xhtml.

---André



--
André van Toly
MMBase development & Userfriendly webdesign

W: http://www.toly.nl
M: +31(0)627233562
------------------------------------------------------------------~~<<>>~~


------------------------------------------------------------------------

_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers

Reply via email to