News for hackers. Stuff that matters.

WYSIHTML5: A better approach to rich text editing

http://xing.github.com/wysihtml5/

Open source rich text editor based on HTML5 and the progressive-enhancement approach. Uses a sophisticated security concept and aims to generate fully valid HTML5 markup by preventing unmaintainable tag soups and inline styles.

Twitter Bootstrap Plugin: http://jhollingworth.github.com/bootstrap-wysihtml5/

( 78 comments | 312 points | on HN )
Re:WYSIHTML5: A better approach to rich text editing by junto on Monday May 21, 2012 @07:26AM (#4002300)
I'm using the Twitter Bootstrap styled version of this in a current project. It looks stunning: http://jhollingworth.github.com/bootstrap-wysihtml5/
Re:WYSIHTML5: A better approach to rich text editing by sundeep_b on Monday May 21, 2012 @09:32AM (#4002723)
Cool! That's the first thing that hit my mind - how would this look in bootstrap? Thanks for doing and sharing this!
Re:WYSIHTML5: A better approach to rich text editing by junto on Monday May 21, 2012 @09:39AM (#4002746)
Just to be clear. I didn't write this! I just used it.

The credit for writing this goes to James Hollingworth: https://github.com/jhollingworth

Re:WYSIHTML5: A better approach to rich text editing by jfhollingworth on Monday May 21, 2012 @05:17PM (#4004989)
Thanks :) Glad you like it!
Re:WYSIHTML5: A better approach to rich text editing by therandomguy on Monday May 21, 2012 @10:32PM (#4006004)
Thanks for this. I would most definitely use this on my website. The only thing missing is the ability to add youtube embed code. Any way to make that happen?
Re:WYSIHTML5: A better approach to rich text editing by junto on Monday May 21, 2012 @05:30PM (#4005037)
Lol. You're lurking around here. Nice to see other Brits here!
Re:WYSIHTML5: A better approach to rich text editing by laktek on Monday May 21, 2012 @06:31AM (#4002159)
On a side note, it's worth mentioning W3C has a working group to standardize in-browser HTML editing (http://dvcs.w3.org/hg/editing/raw-file/tip/editing.html).

The spec is still not settled, but safe to use as a guideline for an implementation. If libraries align their command API implementations with the specs, it would be easy for them to port to use native commands as the browser support gets strong.

Re:WYSIHTML5: A better approach to rich text editing by lunaru on Monday May 21, 2012 @05:58AM (#4002081)
Wouldn't it be more desirable to have these WYSIWYG editors serialize to a non-HTML markup (like textile or markdown) to reduce the hassle of user-input sanitization on the back-end? (e.g. stripping script and iframe tags). What's best-practice these days for storing and displaying rich-edit user input?
Re:WYSIHTML5: A better approach to rich text editing by emn13 on Monday May 21, 2012 @08:48AM (#4002568)
I doubt Markdown, BBCode or anything similar is a good idea here. That's just introducing extra complexity - and what for? The point of markdown is that its simple for humans to read and write directly, which isn't applicable here.

The downside to markdown should be obvious:

* more code, both server and client-side (to implement the to-and-from conversion)

* more bugs (due to more code and the complexity of escaping valid input that happens to be markup in one or the other)

* less features (if the editor supports some html that doesn't map 1-to-1 to markdown, you're in trouble)

* less future-proof/platform independent (html isn't going anywhere, but that markdown variant you're using with the custom extensions you needed might be subtly different in whatever language/platform/toolkit you'd prefer in 5 years).

Html is by far the better choice. If there's an improvement to be had here, it's in using the (compatible) XHTML5 serialization to ease parsing. And it's quite likely already using that, since that's what browsers' rich-text-editing generally produces.

Re:WYSIHTML5: A better approach to rich text editing by drivebyacct2 on Monday May 21, 2012 @02:03PM (#4004022)
I suppose it's strange to say this on HN where the markup is, well, atrocious, but after using Markdown for ages in varieties of places, it's simply more pleasant to use for the "advanced" user who doesn't want to memorize hotkeys or highlight and press buttons to give their text some basic simple formatting.

It's a hit on reddit, GitHub and more for a good reason. They could have whitelisted things as well, but they chose not to.

Re:WYSIHTML5: A better approach to rich text editing by brlewis on Monday May 21, 2012 @09:07AM (#4002630)
If you would be happy with markdown, you'll be happy with a whitelist-based HTML sanitizer. HTML santization is only a hassle if you take the blacklist approach in an attempt to allow lots more than what markdown can do.

I've used antisamy, but there are many others and I don't know which is best. But I would call the whitelist approach in general, best practice.

Re:WYSIHTML5: A better approach to rich text editing by laktek on Monday May 21, 2012 @06:17AM (#4002121)
Depends on the use case. If you are using it in as a website authoring tool, it makes sense to store the rich-edit user input as HTML itself.

However, in a scenario like commenting or composing a message (where only limited editing options are available), storing in a format such as Markdown make sense.

Re:WYSIHTML5: A better approach to rich text editing by legutierr on Monday May 21, 2012 @07:04AM (#4002243)
Are you aware of any such editor that does store the data in Markdown or something similar?
Re:WYSIHTML5: A better approach to rich text editing by yesbabyyes on Monday May 21, 2012 @08:03AM (#4002424)
Take a look at bergie's Hallo editor:

http://bergie.github.com/hallo/markdown.html

He also has an interesting project called Create:

http://createjs.org/

Re:WYSIHTML5: A better approach to rich text editing by patrickg on Monday May 21, 2012 @07:35AM (#4002323)
Not really what you're after, I guess, but a link anyway: http://code.google.com/p/pagedown/wiki/PageDown "PageDown is the JavaScript Markdown previewer used on Stack Overflow and the rest of the Stack Exchange network. It includes a Markdown-to-HTML converter and an in-page Markdown editor with live preview."
Re:WYSIHTML5: A better approach to rich text editing by kodablah on Monday May 21, 2012 @02:11PM (#4004052)
Re:WYSIHTML5: A better approach to rich text editing by zalew on Monday May 21, 2012 @09:36AM (#4002735)
Re:WYSIHTML5: A better approach to rich text editing by Akram on Monday May 21, 2012 @09:37AM (#4002737)
even in comments a whitlist of markup would save a lot of code on both the ends.
Re:WYSIHTML5: A better approach to rich text editing by geon on Monday May 21, 2012 @12:16PM (#4003515)
If you are going to manipulate the document structure on the server, JSON might be an alternative. There is an interesting project on Github that does HTML -> JSON conversion: https://github.com/gregory80/fastFrag
Re:WYSIHTML5: A better approach to rich text editing by zv on Monday May 21, 2012 @05:56AM (#4002074)
Whenever I see "new rich HTML editor", I notice that there is no table editing. What's the point of editor that is missing the most needed function? You could argue that it is not needed, however lack of this function leads to cases of copy-paste from word/excel with bad markup.
Re:WYSIHTML5: A better approach to rich text editing by ams6110 on Monday May 21, 2012 @07:35AM (#4002324)
I have never seen a rich editor that handles tables well. In fact I've never seen a rich editor that does much of anything well. I almost always have switch to HTML view to get anything done.
Re:WYSIHTML5: A better approach to rich text editing by bergie on Monday May 21, 2012 @05:53PM (#4005114)
I've been thinking about this a lot with Hallo (http://hallojs.org/), and I'm starting to come to the conclusion that the traditional way of doing tables in WYSIWYG editors is simply wrong.

What is a table editor would essentially be a database query, with data coming from your CMS or some other system? Then instead of building a generic table by hand you could do things like Insert a table of attendees of this event, with columns displayName, company, and email.

I'll try to do some experiments with this in the summer.

Re:WYSIHTML5: A better approach to rich text editing by BHSPitMonkey on Tuesday May 22, 2012 @01:42AM (#4006412)
If you've used Drupal, what you're describing is simply the correct usage of one of its most powerful pieces: Views. However, even with its somewhat decent "query" editing interface, it's still a complex task that requires some critical data-oriented thinking skills. It's important, I think, for people to be able to format an electronic table about as easily as they can do it with a pen and paper. It's a fundamental formatting operation, IMO, and there should always be a fast/intuitive way of making them.
Re:WYSIHTML5: A better approach to rich text editing by laktek on Monday May 21, 2012 @06:34AM (#4002169)
Aloha handles Tables perfectly (including merge/split of rows & columns, plus pasting from Microsoft Word).

Check the demo - http://aloha-editor.org/builds/development/latest/src/demo/b...

Re:WYSIHTML5: A better approach to rich text editing by davidw on Monday May 21, 2012 @06:39AM (#4002180)
Looks nice, but the Aloha licensing basically requires you to buy a license if you're going to use it commercially, whereas this one uses the very simple and open MIT license.
Re:WYSIHTML5: A better approach to rich text editing by midnightmonster on Monday May 21, 2012 @12:25PM (#4003554)
Furthermore, I've been trying to get them to sell me a commercial license for months. Someone sometimes emails me back, but they have yet to give me a way to give them money.
Re:WYSIHTML5: A better approach to rich text editing by analog on Monday May 21, 2012 @07:27AM (#4002303)
It's licensed under AGPLv3. I prefer MIT as well, but surely you don't need to buy a licence to use this?

https://github.com/alohaeditor/Aloha-Editor/blob/dev/LICENSE...

Re:WYSIHTML5: A better approach to rich text editing by robin_reala on Monday May 21, 2012 @07:04AM (#4002247)
Aloha is more than a meg of JS as it stands and the documentation is pitiful.
Re:WYSIHTML5: A better approach to rich text editing by laktek on Monday May 21, 2012 @07:56AM (#4002401)
I'm a contributor to Aloha and recently project underwent a huge re-write to cut down the cruft. Next release, will use a light weight UI based on jQuery and also switching to a newer command API based on W3C's editing API will also make things more faster (and easier).

Main issue with the documentation was the rapid changes to the API in the past. Since the API is getting stable there will be more concern on improving the documentation.

Re:WYSIHTML5: A better approach to rich text editing by robin_reala on Monday May 21, 2012 @10:44AM (#4003059)
Sorry, just re-read my comment and realised I came across as yet another of those entitled and grumpy anonymous commenters you find online. For what it’s worth, I like Aloha as integrated into the Aloha site, I just failed miserably despite much effort to integrate seamlessly into a recent project. I was aware of the jQuery UI rewrite but the branch didn’t seem to have had any commits in the previous two weeks when I looked so I assumed progress was slow. Glad to hear there’s more definitive plans.

I stand by my comment about the lack of documentation though. I appreciate that it’s often difficult to get people to contribute to docs over code, but it’s pretty imperative for a project like this that there’s at least an easy integration walkthrough and a handful of examples showing common customisations.

Re:WYSIHTML5: A better approach to rich text editing by arnemart on Monday May 21, 2012 @08:57AM (#4002598)
That sounds very promising. Do you have a time frame for this release?
Re:WYSIHTML5: A better approach to rich text editing by nosierbatiste on Monday May 21, 2012 @09:23AM (#4002688)
I among others will work on the dev-jqueryui branch in June. I hope we will manage to stabilize it and merge it to dev in this time.

It should be noted that we plan to make the ui an optional part of Aloha (with default being a jqueryui implementation) to make it easier to integrate into existing systems. The heavy extjs dependency is part of why Aloha is so huge.

I also plan to look into using google closure compiler in ADVANCED_OPTIMIZATION mode to shrink the size to the absolute minimum.

Re:WYSIHTML5: A better approach to rich text editing by middus on Monday May 21, 2012 @06:17AM (#4002123)
If I could +1 this a million times... that's the number one feedback I receive from CMS users in commercial environments. Please make it convenient for them to create tables!
Re:WYSIHTML5: A better approach to rich text editing by Angostura on Monday May 21, 2012 @06:25AM (#4002146)
Pah! "Just paste the table in from Word".

...and let the hilarity commence.

Re:WYSIHTML5: A better approach to rich text editing by drivebyacct2 on Monday May 21, 2012 @01:58PM (#4003997)
Copy and pasting tables from MS Office is the most needed feature? I don't know whether to raise my eyebrows or feel bad for you.
Re:WYSIHTML5: A better approach to rich text editing by batista on Monday May 21, 2012 @04:21PM (#4004732)
How about neither, and just try to comprehend that tables are a common use case that if we haven't perfected yet in HTML editors it's web programmers/standards' fault and not Word's?
Re:WYSIHTML5: A better approach to rich text editing by drivebyacct2 on Monday May 21, 2012 @04:43PM (#4004837)
And why is that the logic conclusion exactly?
Re:WYSIHTML5: A better approach to rich text editing by batista on Monday May 21, 2012 @05:59PM (#4005136)
Because tables are a basic, centuries old, typographic feature that is also needed -no ifs or buts- in HTML editors?
Re:WYSIHTML5: A better approach to rich text editing by drivebyacct2 on Tuesday May 22, 2012 @09:32PM (#4011028)
Sorry, I was mocking the notion that someone is supposed to interop with Word and that not magically converting from Word is somehow their fault instead of Word's. I can only image it's non standard. In fact, it's probably handled by the user-agent.
Re:WYSIHTML5: A better approach to rich text editing by slikts on Monday May 21, 2012 @08:36AM (#4002525)
Looking at the examples, I don't understand how this is "a better approach" to editing, because the HTML it outputs does not follow best practices. The HTML it outputs should look like a competent human had authored it, but currently it uses line-break hacks for paragraphs instead of semantic paragraph elements (two <br> elements aren't really a paragraph, it just looks like it), adds underline elements with Ctrl+U (these should be reserved for links and defined in stylesheets anyway) etc.
Re:WYSIHTML5: A better approach to rich text editing by TazeTSchnitzel on Monday May 21, 2012 @09:55AM (#4002826)
Valid HTML5 markup? It's certainly not semantic. <b> should be <strong>, <i> should be <em>
Re:WYSIHTML5: A better approach to rich text editing by decklin on Monday May 21, 2012 @10:08AM (#4002891)
Re:WYSIHTML5: A better approach to rich text editing by sandfox on Monday May 21, 2012 @11:22AM (#4003257)
You might want to read this bit from that section: "The b element should be used as a last resort when no other element is more appropriate. In particular, headings should use the h1 to h6 elements, stress emphasis should use the em element, importance should be denoted with the strong element, and text marked or highlighted should use the mark element."

From the looks of it - while just about legal, it's the worst option going. <em> etc are far more preferable and 'right'

Re:WYSIHTML5: A better approach to rich text editing by batista on Monday May 21, 2012 @04:18PM (#4004722)
Only I don't want my text to be "strong", I want it to be bold, and I don't want my italicized items to me "emphasized", I bloody want them in italics.

I don't consider my bolds and italics to be mere style and much less I consider them mere suggestions.

Bold and italic are typographic conventions of author _intent_ (that is: semantics) with centuries of use. I put them there in purpose, and I don't want them converted to anything else via styling. Sure, someone can style "b" as "purple text with a yellow dotted underline", but I might as well make my _actual_ intention clear.

Outside of its proper context, "semantic" is just a BS notion that got popular with designers and co because it sounds sophisticated, giving rise to inane arguments similar to how many angels fit in the head of a needle.

Re:WYSIHTML5: A better approach to rich text editing by TazeTSchnitzel on Monday May 21, 2012 @05:18PM (#4004993)
I understand that, but when I open your page in lynx I don't want to read text without any formatting because there are no direct equivalents to "bold" or "italics".
Re:WYSIHTML5: A better approach to rich text editing by DanBC on Monday May 21, 2012 @06:12PM (#4005184)
People actively block Internet Explorer. They've probably never heard of lynx / links / elinks / w3m.

I'm happy when they don't use idiotic alt tags. If they manage to use good alt tags I'm really happy.

Accessible web design is seen as some freakish niche need, and is often relegated to something to do later, if ever.

Re:WYSIHTML5: A better approach to rich text editing by batista on Monday May 21, 2012 @06:05PM (#4005159)
Well, then just ignore them --or show them with bold and _italics_, Markdown style.

Although, I think modern terminals can do bold fonts, e.g this gives you bold in bash:

echo -e "\033[1mtest\033[0m again"

Re:WYSIHTML5: A better approach to rich text editing by SquareWheel on Monday May 21, 2012 @06:08AM (#4002102)
I like it a lot. It's fast, not bloated, and has a decent feature set. I could see myself implementing this.
Re:WYSIHTML5: A better approach to rich text editing by bflesch on Monday May 21, 2012 @06:33AM (#4002164)
Very nice. We discussed a lot whether to use the same <iframe> approach on text editing when working a project of ours called Quabel. In the end, we went even further with a pure DOM-based editor (via contenteditable) and no hidden <textarea>. However, we encountered lots of cross-browser issues because of the differences in contenteditable behavior when using FF / Chrome / Opera and later dropped contenteditable alltogether. I chuckled when noticing the odd editor behavior when pressing backspace at the beginning of a list item because we had exactly the kind of oddities.
Re:WYSIHTML5: A better approach to rich text editing by cmelbye on Monday May 21, 2012 @07:51AM (#4002385)
This is a fantastic rich text editor, easily one of the best I've seen. If I remember correctly, 37signals uses it in the note writing feature of the new Basecamp.
Re:WYSIHTML5: A better approach to rich text editing by javan on Monday May 21, 2012 @09:14AM (#4002660)
Correct.
Re:WYSIHTML5: A better approach to rich text editing by cickpass_broken on Monday May 21, 2012 @01:01PM (#4003743)
A little related: If anyone is interested I've been working on a WYSI-Markdown editor. http://draftbin.com/c3993540679e0a1af4e5704a208b60ceb46d20dc...

Haven't gotten around to a github repo or fixing some pretty annoying bugs. But, there it is.

Re:WYSIHTML5: A better approach to rich text editing by mgkimsal on Monday May 21, 2012 @07:56AM (#4002400)
Feature request - ability to add 'notes' to a document. I'd imagine these as toggleable divs that would be able to be inserted anywhere in the doc, then made visible or not by toggling a class. When 'on' the visible portion would just be a small box/space/marker that, when clicked, opened up a larger div with the full note.

I'd tried to do this with the YUI and Dojo editors a couple years ago, but my JS-fu wasn't good enough. I'm possibly better now, and maybe wil try my hand at adding that to this editor (which looks nice for a lot of applications) but someone else with better skills could probably lay the foundation for a 'notes' system much better than me :)

Re:WYSIHTML5: A better approach to rich text editing by simonz05 on Monday May 21, 2012 @08:16AM (#4002468)
> Feature request - ability to add 'notes' to a document. I'd imagine these as toggleable divs that would be able to be inserted anywhere in the doc, then made visible or not by toggling a class. When 'on' the visible portion would just be a small box/space/marker that, when clicked, opened up a larger div with the full note.

I think this suggestion fully qualifies as something they don't want to do, "[to create] unmaintainable tag soups and inline styles".

Re:WYSIHTML5: A better approach to rich text editing by mgkimsal on Monday May 21, 2012 @09:05AM (#4002624)
Who said inline styles? A class and an ID on a span tag inside a larger block would be all that's required. The clicking stuff would be applied outside of the document editing area.

This is the sort of reaction that makes me hesitant to even attempt to fork/patch it, because if this sort of thing wouldn't be accepted back in to the main trunk, I'm stuck maintaining a separate branch.

Re:WYSIHTML5: A better approach to rich text editing by cmelbye on Monday May 21, 2012 @12:24PM (#4003552)
This seems like it would be beyond the scope of the project (to provide a simple rich text editor.) It should be very easy to add some sort of inline commenting/review system in your own application.
Re:WYSIHTML5: A better approach to rich text editing by slikts on Monday May 21, 2012 @08:35AM (#4002522)
Looking at the examples, I don't understand how this is "a better approach" to editing, because the HTML it outputs does not follow best practices. The HTML it outputs should look like a competent human had authored it, but currently it uses line-break hacks for paragraphs instead of semantic paragraph elements (two &lt;br> elements aren't really a paragraph, it just looks like it), adds underline elements with Ctrl+U (underlines should be reserved for links and defined in stylesheets anyway) etc.
Re:WYSIHTML5: A better approach to rich text editing by DeepDuh on Monday May 21, 2012 @08:48PM (#4005713)
Want good WYSIWYG html? Try out Apple Pages, export to E-Pub, extract and look at the xhtml files. After pretty printing it's almost like human authored. It seems that we still need the Apples and Adobes of this world.
Re:WYSIHTML5: A better approach to rich text editing by jorangreef on Monday May 21, 2012 @08:50AM (#4002573)
How is it doing the speech input for Chrome? Is this an offline API provided by Chrome or backed by a Google web api?
Re:WYSIHTML5: A better approach to rich text editing by Joeri on Monday May 21, 2012 @02:33PM (#4004175)
Re:WYSIHTML5: A better approach to rich text editing by Udo on Monday May 21, 2012 @05:24AM (#4002005)
This is very nice! And it feels very light weight, too. I've been looking for a saner rich text editor for a while...
Re:WYSIHTML5: A better approach to rich text editing by dmbaggett on Monday May 21, 2012 @12:40PM (#4003646)
We really need to escape the tyranny of the browser "design mode," with all its quirks. These RTEs are really lipstick on a pig, sadly.

Does anyone know of a JavaScript RTE that does all the text layout and formatting itself using pure JS?

Re:WYSIHTML5: A better approach to rich text editing by evan_ on Monday May 21, 2012 @01:25PM (#4003861)
The RTE for Google Docs is written in Javascript, bypassing design mode:

http://googledocs.blogspot.com/2010/05/whats-different-about...

The code isn't officially released anywhere, but someone grabbed the source, prettied it up, and put it up here: https://github.com/benjamn/kix-standalone Obviously you can't use it for anything without a proper license.

Re:WYSIHTML5: A better approach to rich text editing by snookca on Monday May 21, 2012 @12:38PM (#4003632)
wysihtml5 is a decent editor. It's fairly lightweight in comparison to the other editors. I feel that its approach to DOM changes makes it easier to create cross-browser consistency. However, I feel the event system could really use some work and I find myself working against the editor to add new features. I would prefer if the framework made it easier to add new features rather than having to change the core to get the desired result. (and maybe I just need to spend more time with it.)

Oh, and I should add that the built-in parser isn't very flexible and requires lengthy configuration.

Re:WYSIHTML5: A better approach to rich text editing by WimLeers on Monday May 21, 2012 @01:04PM (#4003757)
Could you go into a little bit more detail on how you think it compares to other editors?

And more specifically: what are your thoughts on the Aloha editor?

Re:WYSIHTML5: A better approach to rich text editing by snookca on Monday May 21, 2012 @01:43PM (#4003935)
The problem I have with most editors is that they try to be like a piece of desktop software. "Install me and get all of these features including themes and plugins." That's not what I want. I want an API. I want a consistent cross-browser approach to wysiwyg html editing that doesn't weigh in at 200+k minified.

What does Aloha come in at? (Web Inspector is telling me 1.6MB!)

I haven't used Aloha but my impression is that it's trying to be like all the other editors like TinyMCE or CKEditor.

wysihtml5 is lightweight, which is nice. It provides a command API so that I can wire up commands to my own toolbar and provides state management. But I don't like that some built-in commands don't offer up enough externalization, like autolinking. Or that I can't cancel an event like beforecommand. beforecommand doesn't even tell me what command is being fired. (or if it does, I couldn't find out how.)

Re:WYSIHTML5: A better approach to rich text editing by simonz05 on Monday May 21, 2012 @08:26AM (#4002499)
Creating a simple editor which works, seems to be quiet hard, judging based on all the horrible examples we have of existing ones. Hopefully, they'll keep it clean and don't add many new features.
Re:WYSIHTML5: A better approach to rich text editing by alisey on Monday May 21, 2012 @05:07PM (#4004941)
It's hard, especially if you want to support IE8. You need a 100-line function simply to get cursor position in a cross-browser fashion.
Re:WYSIHTML5: A better approach to rich text editing by cristiantincu on Monday May 21, 2012 @07:00AM (#4002229)
“(…) It uses a sophisticated security concept (…)” —Does anybody know what does this mean? Does this concept have a name, a description or anything?
Re:WYSIHTML5: A better approach to rich text editing by grimboy on Monday May 21, 2012 @07:13AM (#4002275)
As far as I can tell, it's referring to the sandboxed iframe.
Re:WYSIHTML5: A better approach to rich text editing by stef25 on Monday May 21, 2012 @07:24AM (#4002295)
The only way to add an image is to enter a URL? An upload feature would be great, most of my sites / clients require it.
Re:WYSIHTML5: A better approach to rich text editing by eliben on Monday May 21, 2012 @07:13AM (#4002271)
IE in browser support: IE8+

yay ;-)

Re:WYSIHTML5: A better approach to rich text editing by nosierbatiste on Monday May 21, 2012 @09:51AM (#4002802)
We officially support IE7 and IE8 in Aloha. I say officially, because, although it does seem to work, it doesn't work very well (at all). IE does some weird stuff with the DOM, especially inside a contenteditable (certain combinations of DOM elements completely mess up the structure if it's inside a contenteditable, but not if it's outside).
Re:WYSIHTML5: A better approach to rich text editing by lunarscape on Monday May 21, 2012 @09:25AM (#4002695)
Out of curiosity is it working in IE8 for you? Doesn't appear to fully work for me using IE8 on XP. The editor buttons and most of the page don't appear.
Re:WYSIHTML5: A better approach to rich text editing by emp_ on Monday May 21, 2012 @10:23AM (#4002969)
The editing does work for me, no buttons show but I am not sure if the demo is tailored to show that off.

On IE7 nothing really happens.

Re:WYSIHTML5: A better approach to rich text editing by joelrunyon on Monday May 21, 2012 @11:08PM (#4006090)
Any idea if/how this integrates w/ Vanilla Forums?
Re:WYSIHTML5: A better approach to rich text editing by fredley on Monday May 21, 2012 @06:41AM (#4002185)
I desperately want this as a Wordpress plugin.
Re:WYSIHTML5: A better approach to rich text editing by AlexFromBelgium on Tuesday May 22, 2012 @08:05AM (#4007389)
Now make a WYSILatex editor in html5 :)