| 1234567891011121314151617181920212223242526272829303132333435363738 |
- /**
- * @license Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- /**
- * @module image/image
- */
- import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
- import ImageEngine from './image/imageengine';
- import Widget from '@ckeditor/ckeditor5-widget/src/widget';
- import ImageTextAlternative from './imagetextalternative';
- import '../theme/theme.scss';
- /**
- * The image plugin.
- *
- * Uses {@link module:image/image/imageengine~ImageEngine}.
- *
- * @extends module:core/plugin~Plugin
- */
- export default class Image extends Plugin {
- /**
- * @inheritDoc
- */
- static get requires() {
- return [ ImageEngine, Widget, ImageTextAlternative ];
- }
- /**
- * @inheritDoc
- */
- static get pluginName() {
- return 'image/image';
- }
- }
|