zefyr
zefyr copied to clipboard
Quill.js compatibility
I tried a delta, which was created by quilljs:
String doc = r'[{"insert":"Zur Zeit "},{"attributes":{"header":1},"insert":"\n"}]';
The delta doesn't work, because the attribute of quilljs is called header instead of heading. Is there a convention somewhere what the correct attribute name is?
At least I can't load a delta created by Quilljs.
Steps to Reproduce
- create text with quilljs editor in ReactJS
- Get delta
- use delta with zefyr
https://github.com/zenoamaro/react-quill I using this quilljs editor in reactjs
https://quilljs.com/docs/formats/ shows "header" as attribute name.
Ok, this answer my question, https://github.com/memspace/zefyr/blob/master/doc/faq.md. Damn :-)
I'm actually considering either Quill-compatibility mode or a way to convert from/to Quill documents. Though this is not very high in priority list right now.
I'll rename this to reflect the intention.
This would be a feature I'd be interested in as we have a similar use case to this.
https://github.com/memspace/zefyr/blob/master/doc/faq.md
Then what means "Zefyr editor uses Quill.js Delta as underlying data format."? That they are both JSON based? Would be great to see remark about incompatibility in the documentation just near that claim.
Hey @pulyaevskiy, thanks for the great work. Any updates on Quill compatibility? I'm also interested in this feature as Quill has become sort of a standard nowadays.
Any updates on this.