Trigger 'editor-change' when user changes image alignment
See original GitHub issueDescription
I scratched my head for hours to verify this before even posting.
I founded out that when a user interacts with the alignment Toolbar, there is no ‘editor-change’ event being triggered.
I can be a problem when a user change alignment as final action since it will not be registered by my Vue component (I rely on a change
event bound to Quill editor-change
event).
Demo
- open this plunkr
- open dev console
- try resizing an image:
editor-change
triggered - try changing alignment: no
editor-change
😭
Issue Analytics
- State:
- Created 6 years ago
- Reactions:8
- Comments:10
Top Results From Across the Web
Trigger 'editor-change' when user changes image alignment
I founded out that when a user interacts with the alignment Toolbar, there is no 'editor-change' event being triggered. I can be a...
Read more >How can a change on the select tag trigger changing the src of ...
Is it possible to put an image that changes based on your selected option in a select tag? I need to change the...
Read more >Events Available for TinyMCE | Docs
The following examples illustrate how to use supported native events, editor core events, and plugin events with TinyMCE.
Read more >API - Quill Rich Text Editor
Formats text in the editor, returning a Delta representing the change. For line level formats, such as text alignment, target the newline character...
Read more >CodeMirror 5 User Manual
Fired whenever a change occurs to the document. changeObj has a similar type as the object passed to the editor's "change" event. "beforeChange"...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Okay, we solved this issue by adding the code from this comment: https://github.com/kensnyder/quill-image-resize-module/issues/10#issuecomment-317747389
+1