Skip to content

Build your personal knowledge base with Trilium Notes

refactor(build): switch to submodule for ckeditor5-math

Elian Doran3a24a959a2ac
diff --git a/packages/ckeditor5-build-trilium/package.json b/packages/ckeditor5-build-trilium/package.json
index adaa9612df..6cc2935fe7 100644
--- a/packages/ckeditor5-build-trilium/package.json
+++ b/packages/ckeditor5-build-trilium/package.json
@@ -50,9 +50,7 @@
"@ckeditor/ckeditor5-paste-from-office": "43.2.0",
"@ckeditor/ckeditor5-table": "43.2.0",
"@ckeditor/ckeditor5-typing": "43.2.0",
- "@ckeditor/ckeditor5-utils": "43.2.0",
- "@triliumnext/ckeditor5-math": "43.2.0-hotfix1",
- "@triliumnext/ckeditor5-footnotes": "0.0.4-hotfix11"
+ "@ckeditor/ckeditor5-utils": "43.2.0"
},
"devDependencies": {
"@ckeditor/ckeditor5-core": "43.2.0",
diff --git a/packages/ckeditor5-build-trilium/src/config.ts b/packages/ckeditor5-build-trilium/src/config.ts
index c6138ff56b..a6a90a802f 100644
--- a/packages/ckeditor5-build-trilium/src/config.ts
+++ b/packages/ckeditor5-build-trilium/src/config.ts
@@ -70,8 +70,7 @@ import removeFormatLinksPlugin from './remove_format_links';
import {SpecialCharactersEmoji} from "./special_characters_emoji";
// External plugins
-import Math from '@triliumnext/ckeditor5-math/src/math';
-import AutoformatMath from '@triliumnext/ckeditor5-math/src/autoformatmath';
+import { Math, AutoformatMath } from '../../ckeditor5-math/src/index';
import { Mermaid } from "../../ckeditor5-mermaid/src/index";