8
0
Просмотр исходного кода

Changed: AlignmentEditingUI should not require AlignmentEditing plugin.

Maciej Gołaszewski 8 лет назад
Родитель
Сommit
b3f1647548

+ 0 - 7
packages/ckeditor5-alignment/src/alignmentui.js

@@ -59,13 +59,6 @@ export default class AlignmentUI extends Plugin {
 		};
 	}
 
-	/**
-	 * @inheritDoc
-	 */
-	static get requires() {
-		return [ AlignmentEditing ];
-	}
-
 	/**
 	 * @inheritDoc
 	 */

+ 0 - 4
packages/ckeditor5-alignment/tests/alignmentui.js

@@ -34,10 +34,6 @@ describe( 'Alignment', () => {
 		return editor.destroy();
 	} );
 
-	it( 'requires AlignmentEditing', () => {
-		expect( AlignmentUI.requires ).to.deep.equal( [ AlignmentEditing ] );
-	} );
-
 	describe( 'localizedStylesTitles()', () => {
 		it( 'should return localized titles of styles', () => {
 			const editorMock = { t: str => str };