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 88668df commit 0eb9ca1Copy full SHA for 0eb9ca1
packages/vue-quill/src/components/QuillEditor.ts
@@ -215,10 +215,7 @@ export const QuillEditor = defineComponent({
215
oldContents: Delta,
216
source: Sources
217
) => {
218
- // Quill should never be null at this point because we receive an event
219
- // so content should not be undefined but let's make ts and eslint happy
220
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
221
- internalModel = maybeClone(getContents()!)
+ internalModel = maybeClone(getContents() as string | Delta)
222
// Update v-model:content when text changes
223
if (!internalModelEquals(props.content)) {
224
ctx.emit('update:content', internalModel)
0 commit comments