8
0
Pārlūkot izejas kodu

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

Aleksander Nowodzinski 6 gadi atpakaļ
vecāks
revīzija
5716d524f4

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