blob: 5322694eb8c6a19cfcf316723e9143cc3f62705e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
import { Plugin } from 'ckeditor5/src/core';
import InsertCommand from './insertcommand';
export default class WikiLinkEditing extends Plugin {
static get pluginName() {
return 'WikiLinkEditing';
}
init() {
this._defineCommands();
}
_defineCommands() {
this.editor.commands.add('insertStudipWikiLink', new InsertCommand(this.editor));
}
}
|