fix(build): augmentations not being imported

This commit is contained in:
Elian Doran 2025-03-15 00:29:46 +02:00
parent 56bb2b0bb8
commit 3c505f3d3b
No known key found for this signature in database
2 changed files with 17 additions and 0 deletions

View File

@ -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';
declare module '@ckeditor/ckeditor5-core' {
interface PluginsMap {
[ Math.pluginName ]: Math;
[ MathEditing.pluginName ]: MathEditing;
[ MathUI.pluginName ]: MathUI;
}
interface CommandsMap {
math: MathCommand;
}
interface EditorConfig {
math?: {
engine?:

View File

@ -4,3 +4,5 @@
export { default as Math } from './math';
export { default as AutoformatMath } from './autoformatmath';
import "./augmentation.js";