Преглед на файлове

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 }`
 			},