mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-25 14:10:14 +08:00
fix(build): augmentations not being imported
This commit is contained in:
parent
56bb2b0bb8
commit
3c505f3d3b
@ -1,6 +1,21 @@
|
|||||||
|
import Math from './math';
|
||||||
|
import MathCommand from './mathcommand';
|
||||||
|
import MathEditing from './mathediting';
|
||||||
|
import MathUI from './mathui';
|
||||||
import type { KatexOptions } from './typings-external';
|
import type { KatexOptions } from './typings-external';
|
||||||
|
|
||||||
declare module '@ckeditor/ckeditor5-core' {
|
declare module '@ckeditor/ckeditor5-core' {
|
||||||
|
|
||||||
|
interface PluginsMap {
|
||||||
|
[ Math.pluginName ]: Math;
|
||||||
|
[ MathEditing.pluginName ]: MathEditing;
|
||||||
|
[ MathUI.pluginName ]: MathUI;
|
||||||
|
}
|
||||||
|
|
||||||
|
interface CommandsMap {
|
||||||
|
math: MathCommand;
|
||||||
|
}
|
||||||
|
|
||||||
interface EditorConfig {
|
interface EditorConfig {
|
||||||
math?: {
|
math?: {
|
||||||
engine?:
|
engine?:
|
||||||
|
@ -4,3 +4,5 @@
|
|||||||
|
|
||||||
export { default as Math } from './math';
|
export { default as Math } from './math';
|
||||||
export { default as AutoformatMath } from './autoformatmath';
|
export { default as AutoformatMath } from './autoformatmath';
|
||||||
|
|
||||||
|
import "./augmentation.js";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user