-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrap Quill and add value property #2
Comments
There is a pending PR introducing shadow DOM support: slab/quill#1805 I'm in favour of creating our own fork for now, and re-using the work from there. |
Submitted a PR rebased on top of 1.3.6 release: slab/quill#2337 Tests are failing in Safari because not implemented |
Short summaryOnly Chrome supports getSelection() on the Shadow Root. Neither Firefox 63 beta, nor Safari have it enabled. We need to invest some time in development of our own polyfill to make it work (especially relevant for Safari, as in Firefox 63 global API still works). Long StoryOriginal issue is being discussed here: WICG/webcomponents#79 There is an unofficial polyfill by one guy from Google but in only covers part of functionality: Especially, it does not polyfill the whole This issue is not only about the Quill itself, as it will also affect any editor relying on Solution options
UPD: testing Firefox 63 betahttps://bugzilla.mozilla.org/show_bug.cgi?id=1430308
Summary: Firefox 63 beta could be using global API for now but this might break in future Safari 11https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/dom/DocumentOrShadowRoot.idl#L30
Other EditorsRelated issues in the other WYSIWYG editors:
|
Could “Make Quill work on light DOM” be an option? |
@platosha the users would be still placing Quill inside of the some shadow root (either view or app-shell components), and in Safari the |
Early prototype pushed as https://github.com/vaadin/vaadin-rich-text-editor/tree/proto/wrap-quill Problems identified:
This line gets empty
|
Update:
See the listener in the polyfill where |
Are there plans to wrap the ckeditor too? I've used both, and ckeditor has always been full featured. |
@aadamsx we have decided to build initial version on top of Quill. In the future we might consider changing the internal implementation based e.g. on customer requests, but no such plans for now. |
Plans here
value
should represent the Quill's DeltaThe text was updated successfully, but these errors were encountered: