8
0
Aleksander Nowodzinski 7 лет назад
Родитель
Сommit
fcda546c36

+ 1 - 1
packages/ckeditor5-ui/src/editableui/editableuiview.js

@@ -22,7 +22,7 @@ export default class EditableUIView extends View {
 	 * @param {HTMLElement} [editableElement] The editable element. If not specified, this view
 	 * @param {HTMLElement} [editableElement] The editable element. If not specified, this view
 	 * should create it. Otherwise, the existing element should be used.
 	 * should create it. Otherwise, the existing element should be used.
 	 */
 	 */
-	constructor( locale, editableElement, editingView ) {
+	constructor( locale, editingView, editableElement ) {
 		super( locale );
 		super( locale );
 
 
 		this.editingView = editingView;
 		this.editingView = editingView;

+ 2 - 2
packages/ckeditor5-ui/src/editableui/inline/inlineeditableuiview.js

@@ -23,8 +23,8 @@ export default class InlineEditableUIView extends EditableUIView {
 	 * {@link module:ui/editableui/editableuiview~EditableUIView}
 	 * {@link module:ui/editableui/editableuiview~EditableUIView}
 	 * will create it. Otherwise, the existing element will be used.
 	 * will create it. Otherwise, the existing element will be used.
 	 */
 	 */
-	constructor( locale, editableElement, view ) {
-		super( locale, editableElement, view );
+	constructor( locale, editingView, editableElement ) {
+		super( locale, editingView, editableElement );
 
 
 		/**
 		/**
 		 * The name of the editable UI view.
 		 * The name of the editable UI view.