3 ms·
In my experience, they all seem to fall down with: (1) Lists, especially indenting and nesting properly. (2) Tables. Everything about tables. (3) Pasting rich
by cgijoe 11y ago
In my experience, they all seem to fall down with:
(1) Lists, especially indenting and nesting properly.
(2) Tables. Everything about tables.
(3) Pasting rich text from other apps.
(4) Accumulating invisible formatting data.
From what I've read, if your library uses "contentEditable" and tries to clean up after it, you're in for a bad time. Instead, the best thing is to write your own engine, like Google Docs did (this is of course very difficult and no one has mastered it).
I'll give yours a shot!
- thesunny 11y agoSadly, we built an editor that solved all of these problems but we got virtually any traction in terms of sales (it was $99). Was considering re-releasing it as a WYSIWYG markdown editor because I think the market is more clear. I hear you with respect to the difficulty in getting it right. Sometimes we would have a few lines of code and then 50 lines describing why the code was necessary in order to get around weird edge case behavior in one version of one browser.