@@ -18,6 +18,13 @@ import { isDefault, isSupported, supportedOptions } from './utils';
* @extends module:core/plugin~Plugin
*/
export default class AlignmentEditing extends Plugin {
+ /**
+ * @inheritDoc
+ */
+ static get pluginName() {
+ return 'AlignmentEditing';
+ }
+
/**
* @inheritDoc
@@ -31,6 +31,10 @@ describe( 'AlignmentEditing', () => {
editor.destroy();
} );
+ it( 'should have pluginName', () => {
+ expect( AlignmentEditing.pluginName ).to.equal( 'AlignmentEditing' );
+ } );
it( 'adds alignment command', () => {
expect( editor.commands.get( 'alignment' ) ).to.be.instanceOf( AlignmentCommand );