mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
Implement plugin
This commit is contained in:
15
src/math.js
Normal file
15
src/math.js
Normal file
@@ -0,0 +1,15 @@
|
||||
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
||||
import Widget from '@ckeditor/ckeditor5-widget/src/widget';
|
||||
|
||||
import MathUI from './mathui';
|
||||
import MathEditing from './mathediting';
|
||||
|
||||
export default class Math extends Plugin {
|
||||
static get requires() {
|
||||
return [ MathEditing, MathUI, Widget ];
|
||||
}
|
||||
|
||||
static get pluginName() {
|
||||
return 'Math';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user