| 123456789101112131415161718192021222324252627282930313233343536 |
- /**
- * @license Copyright (c) 2003-2018, CKSource - Frederico Knabben. All rights reserved.
- * For licensing, see LICENSE.md.
- */
- /**
- * @module link/link
- */
- import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
- import LinkEditing from './linkediting';
- import LinkUI from './linkui';
- /**
- * The link plugin. It introduces the Link and Unlink buttons and the <kbd>Ctrl+K</kbd> keystroke.
- *
- * It loads the {@link module:link/linkediting~LinkEditing link editing feature}
- * and {@link module:link/linkui~LinkUI link UI feature}.
- *
- * @extends module:core/plugin~Plugin
- */
- export default class Link extends Plugin {
- /**
- * @inheritDoc
- */
- static get requires() {
- return [ LinkEditing, LinkUI ];
- }
- /**
- * @inheritDoc
- */
- static get pluginName() {
- return 'Link';
- }
- }
|