Herman van Rink a écrit :
Marc Delisle wrote:
Hi, any objection about integrating fckeditor[0] to TEXT field in insert/edit modes?
[0] See http://www.fckeditor.net/demo
I myself am more a fan of tinymce [1], but the issue is more general weather we should integrate a wysiwyg editor.
When the content is HTML I immediately agree that a wysiwyg editor is nice to have, however we must ensure that it does not break other types of content. One additional objection is that these editors are generally a lot slower that a plain text-area.
It should therefore be configurable weather it is used at all. Even better would be to make it configurable per mime-type.
One additional thing I like which the Drupal wysiwyg API [2] has included is a simple "Disable rich-text" link below the editor to convert back to a regular text area.
[1] http://tinymce.moxiecode.com/ [2] http://drupal.org/project/wysiwyg
Yes there would be some config.inc.php (and probably user preference setting) to activate or not the editor.
What do you mean, per mime-type? Do you have in mind launching GIMP for jpeg, for example?
About disabling, these editors usually have a "source" button, isn't this sufficient?
Marc