How to build a desktop WYSIWYG editor with WebKit and HTML 5
arstechnica.com
arstechnica.com
Also the API is ridiculous.
editableDocument.execCommand("Bold", false, null);
execCommand? seriously?Alas, Word sucks because it only runs on Windows, it's expensive, it's lock-in, it uses pessimistic locking (if a user has it open, another can't open it to edit - fabulous when your colleague leaves it open over a weekend), and because its formatting is too flexible. Word documents degrade to the level of your least competent staff member.
These libraries appear to offer a decent foundation for writing a desktop-oriented rich text editor that gives a Word-like editing experience but which mandates styles and integrates with an arbitrary remote system and stuff like that.
That's what I saw in it, anyway. I had a go at such a project about a month ago using wxpython and the rich text component in that, and it isn't the right tool for the job - the component is too monoithic and it's impractical to limit functionality, or to extract the content. It's inelegant that it outputs to HTML rather than a pure document format like docbook, but it's probably close enough to be good enough.