I heard about
MooEditable in the Mootools blog
July roundup. I really like
MooEditable. Being that it is written in MooTools is HUGE plus for me. I've forked it to work on upgrades to use in my CMS. This is my second attempt at working on developing an HTML editor ... the first one was waaaayyyy back in the early 2000s and it wasn't pretty.
So far I've rewritten formatBlock and added a overlay button to add snippets of text into the editor (useful for me when wanting users to add mail merge fields into the editor). I also wrote a pretty robust link button.
Please try it out and let me know what you think:
http://ascribedata.com/moo/editable/
Here's the fork:
http://github.com/tru10000/mooeditable/
The link tooltip doesn't work properly in IE once the editor content scrolls down. onScroll doesn't seem to activate in IE. Can anyone suggest a solution?
The next thing I want to do is write a custom image button.
Also, I personally like <b> and <i> rather than <strong> and <em>. Is
there any way to customize the execCommand('bold') and execCommand('italic') to use <b> and <i> instead of <strong> and <em>? If not, I guess I could write custom buttons.