[drupal-devel] HTMLArea is dead, long live rich text editing
I wrote up something in the forums about this: http://drupal.org/node/18567 Key points: * HTMLArea external "community" is shut down * HTMLArea is under a modified BSD license, so should prob. be removed from contrib (just the HTMLArea part, not the Drupal module) * get in touch if you want to further develop rich text editing in Drupal, likely to be based on FCKEditor -- Boris Mann http://www.bryght.com
Hello, * Boris Mann (borismann@gmail.com) wrote:
I wrote up something in the forums about this: http://drupal.org/node/18567
Key points: * HTMLArea external "community" is shut down
I would have to agree here,
* HTMLArea is under a modified BSD license, so should prob. be removed from contrib (just the HTMLArea part, not the Drupal module)
As apart of the 4.6 release I am going to be removing HTMLArea from cvs.
* get in touch if you want to further develop rich text editing in Drupal, likely to be based on FCKEditor
Even though the HTMLArea project has effectively stopped, a fork of the project has been started called Xinha, which I am actively in the process of making the required changes to enable this fork to work. It has had alot of bugs fixed, and is much more reliable that HTMLArea ever was. I am not far from doing this, but I just want to make sure that not having a version of HTMLArea present in the distribution will not cause too many problems. I am hoping this to happen in the next week, I am very close to getting it complete. -- Gordon Heydon <gordon@heydon.com.au>
On Tuesday 08 March 2005 21:12, Boris Mann wrote:
* get in touch if you want to further develop rich text editing in Drupal, likely to be based on FCKEditor
Hi, I tried those, and found htmlarea not to work cross browser, and fckeditor crashed FF on linux for me, and made pages slow and un-responsive. I setup a very basic TinyMCE module, and found this one worked better. It's cross-browser/platform (at least firefox and IE) and pretty lightweight. I wanted to add a few features before releasing the module properly, but here are the basics. It is currently set to show a simple toolbar on the content and comment textareas. (Not on those used for other settings.) Save the following as tinymce.module in a folder tinymce in the modules directory, and save the current tinymce code in another folder called tinymce, so it sits here: modules/tinymce/tinymce.module modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js <?php //By richard.b@gritechnologies.com function tinymce_help($section) { switch($section) { case "admin/modules#description": $output = t("Allows Drupal to use TinyMCE cross-browser WYSIWYG editor."); break; } return $output; } function tinymce_init() { $output = '<script language="javascript" type="text/javascript" src="modules/tinymce/tinymce/jscripts/tiny_mce/tiny_mce.js"></script>'; drupal_set_html_head($output); } function tinymce_textarea($op, $name) { if ($op == 'pre' && ($name == 'body' || $name == 'comment')) { $output = '<script language="javascript" type="text/javascript"> tinyMCE.init({ mode : "exact", elements : "edit-'.$name.'" }); </script>' ; return $output; } } ?> HTH Richard. -------------------------------------------------------
On Tuesday 08 March 2005 04:48 pm, Richard Bennett wrote:
I setup a very basic TinyMCE module, and found this one worked better. It's cross-browser/platform (at least firefox and IE) and pretty lightweight.
TinyMCE looks promising, and worked surprisingly well on FreeBSD/Firefox. http://tinymce.moxiecode.com/example.php?example=true Matt
Negyesi Karoly wrote:
TinyMCE looks promising, and worked surprisingly well on FreeBSD/Firefox.
TinyMCE is [...] released [...] under LGPL
Do we accept Lesser GPL?
AFAIK, LGPL is perfectly compatible with GPL projects from a legal standpoint, considering we would just be including it as a library in a GPL project. -Mark
* Mark (mark@nullcraft.org) wrote:
Negyesi Karoly wrote:
TinyMCE looks promising, and worked surprisingly well on FreeBSD/Firefox.
TinyMCE is [...] released [...] under LGPL
Do we accept Lesser GPL?
AFAIK, LGPL is perfectly compatible with GPL projects from a legal standpoint, considering we would just be including it as a library in a GPL project.
From the point of view of drupal, the licence of the addon product such as htmlarea, FCKEditor, TineMCE does not matter. They should not be in cvs at all.
This was the mistake that I made when I commited htmlarea to cvs, and also the fact that I believe that it caused me more work that it needed to because I was getting support issues for htmlarea itself and not just the module. I have a long weekend and I plan to correct this mistake. -- Gordon Heydon <gordon@heydon.com.au>
There is another mozilla/ie rich-text editor script called 'widgEditor' - which is fairly new (so still has a few bugs), but is coming along nicely - and is focused on being lightweight! It's released under the GPL. See here for more info: http://www.themaninblue.com/writing/perspective/2005/01/27/ http://www.themaninblue.com/experiment/widgEditor/ Has anyone looked at Kupu (http://kupu.oscom.org/) for use with Drupal? Boris Mann wrote:
I wrote up something in the forums about this: http://drupal.org/node/18567
Key points: * HTMLArea external "community" is shut down * HTMLArea is under a modified BSD license, so should prob. be removed from contrib (just the HTMLArea part, not the Drupal module) * get in touch if you want to further develop rich text editing in Drupal, likely to be based on FCKEditor
-- Boris Mann http://www.bryght.com
On Wednesday 09 March 2005 00:16, Ross Kendall wrote:
Has anyone looked at Kupu (http://kupu.oscom.org/) for use with Drupal?
I checked this out. It looked promissing at first glance, but has some crazy requirements, like needing to be compiled (or built) on your machine, and the code to get the interface running is not attached by DOM manipulation, but by writing pages of HTML directly into your source-code. TinyMCE was a lot less intrusive, and created less validation problems. Richard.
participants (7)
-
Boris Mann -
gordon@heydon.com.au -
Mark -
Matt Westgate -
Negyesi Karoly -
Richard Bennett -
Ross Kendall