浏览代码

fix: CKEditor RTL locale support (#1636)

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

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

@@ -65,6 +65,7 @@ export default {
     this.$store.set('editor/editorKey', 'ckeditor')
 
     this.editor = await DecoupledEditor.create(this.$refs.editor, {
+      language: this.locale,
       placeholder: 'Type the page content here',
       wordCount: {
         onUpdate: stats => {