Browse Source

fix: CKEditor RTL locale support (#1636)

Dan Later 5 năm trước cách đây
mục cha
commit
2c83e3bd84
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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 => {