blob: 4369bb50622beb1fb0a9f0fafb4bccda8d2edbcd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { Plugin } from '@ckeditor/ckeditor5-core';
import A11YDialogCommand from './command.js';
export default class A11YDialogEditing extends Plugin {
static get pluginName() {
return 'A11YDialogEditing';
}
init() {
const editor = this.editor;
editor.commands.add('a11ydialog', new A11YDialogCommand(editor));
editor.keystrokes.set('ALT+0', 'a11ydialog');
}
}
|