Elian Doran 2a700da824 Add '_regroup/ckeditor5-keyboard-marker/' from commit 'c875badc77499941b974c0e5ea7c24728a47e35d'
git-subtree-dir: _regroup/ckeditor5-keyboard-marker
git-subtree-mainline: b5fa9f8ea4d8bb37e1e4804e0fe6d30657247d0f
git-subtree-split: c875badc77499941b974c0e5ea7c24728a47e35d
2025-05-04 14:24:39 +03:00

30 lines
579 B
JavaScript

import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
import KbdEditing from './KbdEditing';
import KbdUI from './KbdUI';
/**
* The keyboard shortcut feature.
*
* Provides a way to semantically mark keyboard shortcuts/hotkeys in the content.
*
* This is a "glue" plugin which loads the `KbdEditing` and `KbdUI` plugins.
*
* @extends module:core/plugin~Plugin
*/
export default class Kbd extends Plugin {
/**
* @inheritDoc
*/
static get requires() {
return [ KbdEditing, KbdUI ];
}
/**
* @inheritDoc
*/
static get pluginName() {
return 'Kbd';
}
}