소스 검색

Renamed BoxedEditorUI region 'editable' -> 'main'.

Aleksander Nowodzinski 9 년 전
부모
커밋
a4c48e8a6c
2개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      packages/ckeditor5-ui/src/boxededitorui/boxededitorui.js
  2. 2 2
      packages/ckeditor5-ui/src/boxededitorui/boxededitoruiview.js

+ 1 - 1
packages/ckeditor5-ui/src/boxededitorui/boxededitorui.js

@@ -13,7 +13,7 @@ export default class BoxedEditorUI extends EditorUI {
 		super( editor );
 
 		this.collections.add( new ControllerCollection( 'top' ) );
-		this.collections.add( new ControllerCollection( 'editable' ) );
+		this.collections.add( new ControllerCollection( 'main' ) );
 
 		const config = editor.config;
 

+ 2 - 2
packages/ckeditor5-ui/src/boxededitorui/boxededitoruiview.js

@@ -28,13 +28,13 @@ export default class BoxedEditorUIView extends EditorUIView {
 				{
 					tag: 'div',
 					attributes: {
-						class: 'ck-editor-editable'
+						class: 'ck-editor-main'
 					}
 				}
 			]
 		};
 
 		this.register( 'top', '.ck-editor-top' );
-		this.register( 'editable', '.ck-editor-editable' );
+		this.register( 'main', '.ck-editor-main' );
 	}
 }