5 ms·
Quill is a rich-text WYSIWYG editor library for end-users who want to format text on websites. You would use it to clone Google Docs, for ex. It's not really an
by sampl 10y ago
Quill is a rich-text WYSIWYG editor library for end-users who want to format text on websites. You would use it to clone Google Docs, for ex. It's not really an editor you would want to write code in.
- vijayr 10y agoHow does it compare with TinyMCE and CK Editors?
- lobster_johnson 10y agoThose two are implemented with contenteditable, which is a very flawed mechanism that isn't standard or consistent across browsers. Quill is implemented entirely in JS.
- vijayr 10y agoThank you. I'm going to check it out. Both TinyMCE and CK work well if we have a handful of these on the page. But anything more than that, it becomes a mess and drags the page down :(
- Tloewald 10y agoQuill seems to be using contenteditable to me. Look in the DOM.
- lobster_johnson 10y agoI believe Quill relies on contenteditable in order to support certain operations, such as pasting. Quill has its own document model, and supports things like deltas/operational transforms, which are practically impossible if you use the DOM as the truth like TinyCKE et al do.
- Tloewald 10y agoIt relies on contenteditable. You can just paste any old thing into it — not sure whether some stuff gets stripped by the document model, but that's kind of beside the point. Once you use contenteditable you get a whole bunch of weirdness for free.