瀏覽代碼

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.$store.set('editor/editorKey', 'ckeditor')
 
 
     this.editor = await DecoupledEditor.create(this.$refs.editor, {
     this.editor = await DecoupledEditor.create(this.$refs.editor, {
+      language: this.locale,
       placeholder: 'Type the page content here',
       placeholder: 'Type the page content here',
       wordCount: {
       wordCount: {
         onUpdate: stats => {
         onUpdate: stats => {