Closed jj-sg closed 1 year ago
Tried to integrate codemirror-spell-checker by passing codemirrorConfig
{ mode: "spell-checker", backdrop: "gfm", }
The spelling check didn't work. After checking source code, found the code below in codemirror-editor.vue
this.codemirrorInstance = new this.Codemirror(this.$refs.codemirrorEditor, { lineNumbers: true, styleActiveLine: true, autoCloseTags: true, matchBrackets: true, indentWithTabs: true, autoCloseBrackets: true, ...this.codemirrorConfig, tabSize: this.tabSize, indentUnit: this.tabSize, value: this.text, placeholder: this.placeholder, mode: 'markdown', lineWrapping: true, scrollbarStyle: 'overlay', });
spell-checker is overwritten by markdown. Maybe should move ...this.codemirrorConfig to the end
spell-checker
markdown
...this.codemirrorConfig
Tried to integrate codemirror-spell-checker by passing codemirrorConfig
The spelling check didn't work. After checking source code, found the code below in codemirror-editor.vue
spell-checker
is overwritten bymarkdown
. Maybe should move...this.codemirrorConfig
to the end