chore(ckeditor5-keyboard-marker): port source code

This commit is contained in:
Elian Doran
2025-05-04 14:38:37 +03:00
parent 2a700da824
commit 11c437e67c
9 changed files with 30 additions and 79 deletions

View File

@@ -0,0 +1,22 @@
import { Plugin } from 'ckeditor5';
import KbdEditing from './kbdediting.js';
import KbdUI from './kbdui.js';
/**
* 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.
*/
export default class Kbd extends Plugin {
static get requires() {
return [ KbdEditing, KbdUI ];
}
public static get pluginName() {
return 'Kbd' as const;
}
}