浏览代码

fix: enable spellcheck in visual editor

NGPixel 5 年之前
父节点
当前提交
55bea7d48b
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      client/components/editor/editor-ckeditor.vue

+ 1 - 0
client/components/editor/editor-ckeditor.vue

@@ -67,6 +67,7 @@ export default {
     this.editor = await DecoupledEditor.create(this.$refs.editor, {
     this.editor = await DecoupledEditor.create(this.$refs.editor, {
       language: this.locale,
       language: this.locale,
       placeholder: 'Type the page content here',
       placeholder: 'Type the page content here',
+      disableNativeSpellChecker: false,
       wordCount: {
       wordCount: {
         onUpdate: stats => {
         onUpdate: stats => {
           this.stats = {
           this.stats = {