浏览代码

Added the DOM `dir` attribute to the `BoxedEditorUIView` container.

Aleksander Nowodzinski 6 年之前
父节点
当前提交
5716d524f4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/ckeditor5-ui/src/editorui/boxed/boxededitoruiview.js

+ 1 - 1
packages/ckeditor5-ui/src/editorui/boxed/boxededitoruiview.js

@@ -66,7 +66,7 @@ export default class BoxedEditorUIView extends EditorUIView {
 					'ck-rounded-corners'
 				],
 				role: 'application',
-				dir: 'ltr',
+				dir: locale.languageDirection,
 				lang: locale.language,
 				'aria-labelledby': `ck-editor__aria-label_${ ariaLabelUid }`
 			},