瀏覽代碼

Used ListDropdownView instead of DropdownView in ClassicCreator MT.

Aleksander Nowodzinski 9 年之前
父節點
當前提交
ea4143b2c6
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      packages/ckeditor5-editor-classic/src/utils/imitatefeatures.js

+ 2 - 2
packages/ckeditor5-editor-classic/src/utils/imitatefeatures.js

@@ -12,7 +12,7 @@ import ButtonView from '/ckeditor5/ui/button/buttonview.js';
 import Collection from '/ckeditor5/utils/collection.js';
 import Collection from '/ckeditor5/utils/collection.js';
 
 
 import ListDropdown from '/ckeditor5/ui/dropdown/list/listdropdown.js';
 import ListDropdown from '/ckeditor5/ui/dropdown/list/listdropdown.js';
-import DropdownView from '/ckeditor5/ui/dropdown/dropdownview.js';
+import ListDropdownView from '/ckeditor5/ui/dropdown/list/listdropdownview.js';
 
 
 /**
 /**
  * Immitates that some features were loaded and did their job.
  * Immitates that some features were loaded and did their job.
@@ -94,7 +94,7 @@ export function imitateFeatures( editor ) {
 		content: fontListModel
 		content: fontListModel
 	} );
 	} );
 
 
-	editor.ui.featureComponents.add( 'font', ListDropdown, DropdownView, fontModel );
+	editor.ui.featureComponents.add( 'font', ListDropdown, ListDropdownView, fontModel );
 
 
 	window.fontCollection = fontCollection;
 	window.fontCollection = fontCollection;
 	window.Model = Model;
 	window.Model = Model;