I'm curious why you decided not to use Aloha Editor, since it is also able to produce clean markup. Disclosure: I'm one of the Aloha Editor developers.
Hi deliminator! The Aloha Editor is great. I was poking around in your source the other day and noticed that it doesn't seem like it's received much active development for the past few months. Is it at a stage where you expect future changes to just be bug fixes, or is there still active development planned?
Just curious. Thanks for providing a great tool to the community!
The latest big development was porting the UI from ExtJs to jQuery UI. This had some benefits concerning licensing and code size.
Drupal is interested in integrating Aloha, and we are currently discussing several improvements that would be necessary for them. Have a look at the issue tracker. I think the UI À la carte and accessibility will be the next big user-visible developments.
Before the GPLv2 we had the AGPL, which made it explicit that you had to divulge any server side code.
Now, with the GPLv2, it is possible to use Aloha freely in most websites/webapps. You don't distribute your website/webapp and therefore are not bound by the GPLv2 to divulge your website's source code.
The GPLv2 _would_ take effect if you distribute your website in the traditional sense - a package that someone can run himself.