Hacker News new | ask | show | jobs
by laundermaf 1349 days ago
> just write my own WYSIWYG editor

For your own mental health, don’t. I was looking for an old article describing how bad the API is, written by one of the authors of a WYSIWYG JS editor, but I can’t find it.

1 comments

https://ckeditor.com/blog/ContentEditable-The-Good-the-Bad-a...

Or

https://medium.engineering/why-contenteditable-is-terrible-1...

Are two that I remember reading... nearly 10 years ago, holy hell can someone please make time slow down? Which discuss the common API pitfalls with `contenteditable` -- though I've no idea how painful it is in 2022. Could be a lot better now?

Ah yes the second one is exactly it.

> Could be a lot better now?

Effectively zero progress. Last year I heard some work being done on an alternative API but I haven’t see that since. I don’t expect anything to be done before 2025 if ever.