Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Commit

Permalink
Feature: Named existing plugin(s).
Browse files Browse the repository at this point in the history
  • Loading branch information
Reinmar committed Apr 4, 2017
1 parent 16f285d commit de96d07
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,11 @@ export default class Image extends Plugin {
static get requires() {
return [ ImageEngine, Widget, ImageTextAlternative ];
}

/**
* @inheritDoc
*/
static get pluginName() {
return 'image/image';
}
}
7 changes: 7 additions & 0 deletions src/imagecaption.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,11 @@ export default class ImageCaption extends Plugin {
static get requires() {
return [ ImageCaptionEngine ];
}

/**
* @inheritDoc
*/
static get pluginName() {
return 'image/imagecaption';
}
}
7 changes: 7 additions & 0 deletions src/imagestyle.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ export default class ImageStyle extends Plugin {
return [ ImageStyleEngine ];
}

/**
* @inheritDoc
*/
static get pluginName() {
return 'image/imagestyle';
}

/**
* @inheritDoc
*/
Expand Down
7 changes: 7 additions & 0 deletions src/imagetextalternative.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ export default class ImageTextAlternative extends Plugin {
return [ ImageTextAlternativeEngine ];
}

/**
* @inheritDoc
*/
static get pluginName() {
return 'image/imagetextalternative';
}

/**
* @inheritDoc
*/
Expand Down
7 changes: 7 additions & 0 deletions src/imagetoolbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,13 @@ import ImageBalloonPanel from './image/ui/imageballoonpanelview';
* @extends module:core/plugin~Plugin
*/
export default class ImageToolbar extends Plugin {
/**
* @inheritDoc
*/
static get pluginName() {
return 'image/imagetoolbar';
}

/**
* @inheritDoc
*/
Expand Down

0 comments on commit de96d07

Please sign in to comment.