8
0
فهرست منبع

Used the ElementApiMixin#secureSourceElement().

Aleksander Nowodzinski 6 سال پیش
والد
کامیت
d67428c952
1فایلهای تغییر یافته به همراه1 افزوده شده و 2 حذف شده
  1. 1 2
      packages/ckeditor5-editor-balloon/src/ballooneditor.js

+ 1 - 2
packages/ckeditor5-editor-balloon/src/ballooneditor.js

@@ -17,7 +17,6 @@ import getDataFromElement from '@ckeditor/ckeditor5-utils/src/dom/getdatafromele
 import DataApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/dataapimixin';
 import DataApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/dataapimixin';
 import ElementApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin';
 import ElementApiMixin from '@ckeditor/ckeditor5-core/src/editor/utils/elementapimixin';
 import attachToForm from '@ckeditor/ckeditor5-core/src/editor/utils/attachtoform';
 import attachToForm from '@ckeditor/ckeditor5-core/src/editor/utils/attachtoform';
-import secureSourceElement from '@ckeditor/ckeditor5-core/src/editor/utils/securesourceelement';
 import mix from '@ckeditor/ckeditor5-utils/src/mix';
 import mix from '@ckeditor/ckeditor5-utils/src/mix';
 import { isElement } from 'lodash-es';
 import { isElement } from 'lodash-es';
 import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
 import CKEditorError from '@ckeditor/ckeditor5-utils/src/ckeditorerror';
@@ -84,7 +83,7 @@ export default class BalloonEditor extends Editor {
 		this.ui = new BalloonEditorUI( this, view );
 		this.ui = new BalloonEditorUI( this, view );
 
 
 		attachToForm( this );
 		attachToForm( this );
-		secureSourceElement( this );
+		this.secureSourceElement();
 	}
 	}
 
 
 	/**
 	/**