From f87e7fb577609c0d7461eb2b8ba052fe10ce99ea Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Wed, 28 May 2025 23:03:19 +0300 Subject: [PATCH] chore(ckeditor5): missing type augmentations --- packages/ckeditor5/src/index.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/ckeditor5/src/index.ts b/packages/ckeditor5/src/index.ts index 58e72ca6d..117d14574 100644 --- a/packages/ckeditor5/src/index.ts +++ b/packages/ckeditor5/src/index.ts @@ -5,6 +5,10 @@ import { BalloonEditor, DecoupledEditor, FindAndReplaceEditing, FindCommand } fr export { EditorWatchdog } from "ckeditor5"; export type { EditorConfig, MentionFeed, MentionFeedObjectItem, Node, Position, Element, WatchdogConfig } from "ckeditor5"; +// Import with sideffects to ensure that type augmentations are present. +import "@triliumnext/ckeditor5-math"; +import "@triliumnext/ckeditor5-mermaid"; + /** * Short-hand for the CKEditor classes supported by Trilium for text editing. * Specialized editors such as the {@link AttributeEditor} are not included.