Skip to content

Commit 1ce06bb

Browse files
author
work-2025
committed
https://github.com/slab/quill/pull/4511
1 parent 147c378 commit 1ce06bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/quill/src/core/quill.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ class Quill {
231231
this.theme.addModule('uiNode');
232232
this.theme.init();
233233
this.emitter.on(Emitter.events.EDITOR_CHANGE, (type) => {
234-
if (type === Emitter.events.TEXT_CHANGE) {
234+
if ([Emitter.events.TEXT_CHANGE, Emitter.events.COMPOSITION_START].includes(type)) {
235235
this.root.classList.toggle('ql-blank', this.editor.isBlank());
236236
}
237237
});

0 commit comments

Comments
 (0)