mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 02:52:27 +08:00
15 lines
366 B
TypeScript
15 lines
366 B
TypeScript
import { Plugin, Widget } from 'ckeditor5';
|
|
import MathEditing from './mathediting.js';
|
|
import MathUI from './mathui.js';
|
|
import AutoMath from './automath.js';
|
|
|
|
export default class Math extends Plugin {
|
|
public static get requires() {
|
|
return [ MathEditing, MathUI, AutoMath, Widget ] as const;
|
|
}
|
|
|
|
public static get pluginName() {
|
|
return 'Math' as const;
|
|
}
|
|
}
|