2019-08-31 20:48:37 +03:00
|
|
|
import Plugin from '@ckeditor/ckeditor5-core/src/plugin';
|
|
|
|
import Widget from '@ckeditor/ckeditor5-widget/src/widget';
|
|
|
|
|
|
|
|
import MathUI from './mathui';
|
|
|
|
import MathEditing from './mathediting';
|
2019-09-28 18:03:05 +03:00
|
|
|
import AutoMath from './automath';
|
2019-09-29 04:14:02 +03:00
|
|
|
import MathPasteFromOffice from './mathpastefromoffice';
|
2019-08-31 20:48:37 +03:00
|
|
|
|
|
|
|
export default class Math extends Plugin {
|
|
|
|
static get requires() {
|
2019-09-29 04:14:02 +03:00
|
|
|
return [ MathEditing, MathUI, Widget, AutoMath, MathPasteFromOffice ];
|
2019-08-31 20:48:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
static get pluginName() {
|
|
|
|
return 'Math';
|
|
|
|
}
|
|
|
|
}
|