We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb9ca1 commit f96121bCopy full SHA for f96121b
packages/vue-quill/src/components/QuillEditor.ts
@@ -190,7 +190,9 @@ export const QuillEditor = defineComponent({
190
}
191
192
const deltaHasValuesOtherThanRetain = (delta: Delta): boolean => {
193
- return Object.values(delta.ops).some((v) => !v.retain)
+ return Object.values(delta.ops).some(
194
+ (v) => !v.retain || Object.keys(v).length !== 1
195
+ )
196
197
198
// Doesn't need reactivity, but does need to be cloned to avoid deep mutations always registering as equal
0 commit comments