WYSIWYG editor
Posted: Wed Jan 28, 2009 7:00 pm
At the moment we ship with FCKeditor.
Up until recently I had only ever really used TinyMCE in wordpress, and I liked it, until I started using FCKeditor, which I like much more.
The bonus of FCKeditor over TinyMCE is it ships with a working image/file manager/uploader, where as TinyMCE it's a commercial addon.
The downside of FCKeditor, and for that matter TinyMCE is, they have a HUGE footprint to carry around.
FCKeditor is just under 4mb, while TinyMCE is just under 2mb.
I was looking at the size of OpenCart, it's about 6.31 MB, 3.76 MB of that is FCKeditor. If we took out FCKeditor, OpenCart would be under 3mb!
What I got thinking about is, due to the nature of javascript, you can actually host these anywhere, offsite if we liked, however, FCKeditor has connectors for the image/file manager/uploader, so we may have to rethink that.
I've also been looking at jwysiwyg, which is a jQuery based wysiwyg editor, and has a footprint of under 15kb. We also already carry jquery, but can use the Google Hosted version anyway.
I was looking at drupal, and their wysiwyg project looks kinda interesting. It pretty much allows you to plug any supported wysiwyg editor into the system, or use none at all, depending how you configure it.
What I was thinking about doing is doing something similar, and essentially shipping with jwysiwyg instead of FCKeditor, but allow the user to download and drop in FCKeditor if they wanted, or tinyMCE for that matter, whatever they liked.
This would however mean we'd have to rethink the image/file management/uploader, and probably make our own for use on pages such as the information pages, which could work in a similar way to how wordpress does it.
Up until recently I had only ever really used TinyMCE in wordpress, and I liked it, until I started using FCKeditor, which I like much more.
The bonus of FCKeditor over TinyMCE is it ships with a working image/file manager/uploader, where as TinyMCE it's a commercial addon.
The downside of FCKeditor, and for that matter TinyMCE is, they have a HUGE footprint to carry around.
FCKeditor is just under 4mb, while TinyMCE is just under 2mb.
I was looking at the size of OpenCart, it's about 6.31 MB, 3.76 MB of that is FCKeditor. If we took out FCKeditor, OpenCart would be under 3mb!
What I got thinking about is, due to the nature of javascript, you can actually host these anywhere, offsite if we liked, however, FCKeditor has connectors for the image/file manager/uploader, so we may have to rethink that.
I've also been looking at jwysiwyg, which is a jQuery based wysiwyg editor, and has a footprint of under 15kb. We also already carry jquery, but can use the Google Hosted version anyway.
I was looking at drupal, and their wysiwyg project looks kinda interesting. It pretty much allows you to plug any supported wysiwyg editor into the system, or use none at all, depending how you configure it.
What I was thinking about doing is doing something similar, and essentially shipping with jwysiwyg instead of FCKeditor, but allow the user to download and drop in FCKeditor if they wanted, or tinyMCE for that matter, whatever they liked.
This would however mean we'd have to rethink the image/file management/uploader, and probably make our own for use on pages such as the information pages, which could work in a similar way to how wordpress does it.