Skip to content

Build your personal knowledge base with Trilium Notes

fix(dx/client): insert math not working due to icon import

Elian Doran01022546e8d5
diff --git a/packages/ckeditor5-math/src/ui/mainformview.ts b/packages/ckeditor5-math/src/ui/mainformview.ts
index 751c3c679f..2d1c597938 100644
--- a/packages/ckeditor5-math/src/ui/mainformview.ts
+++ b/packages/ckeditor5-math/src/ui/mainformview.ts
@@ -1,5 +1,6 @@
import { ButtonView, createLabeledTextarea, FocusCycler, LabelView, LabeledFieldView, submitHandler, SwitchButtonView, View, ViewCollection, type TextareaView, type FocusableView, Locale, FocusTracker, KeystrokeHandler } from 'ckeditor5';
-import { IconCheck, IconCancel } from "@ckeditor/ckeditor5-icons";
+import IconCheck from "@ckeditor/ckeditor5-icons/theme/icons/check.svg?raw";
+import IconCancel from "@ckeditor/ckeditor5-icons/theme/icons/cancel.svg?raw";
import { extractDelimiters, hasDelimiters } from '../utils.js';
import MathView from './mathview.js';
import '../../theme/mathform.css';