Skip to content

Build your personal knowledge base with Trilium Notes

Use icons form CKEditor5 icons, instead of testing icons.

meinzzzz4f044c4a57f2
diff --git a/packages/ckeditor5-math/package.json b/packages/ckeditor5-math/package.json
index 0f3e8a37aa..34f845f916 100644
--- a/packages/ckeditor5-math/package.json
+++ b/packages/ckeditor5-math/package.json
@@ -71,6 +71,7 @@
]
},
"dependencies": {
+ "@ckeditor/ckeditor5-icons": "47.2.0",
"mathlive": "0.108.2"
}
}
diff --git a/packages/ckeditor5-math/src/ui/mainformview.ts b/packages/ckeditor5-math/src/ui/mainformview.ts
index ac25bc5f0e..ab904c86ef 100644
--- a/packages/ckeditor5-math/src/ui/mainformview.ts
+++ b/packages/ckeditor5-math/src/ui/mainformview.ts
@@ -1,6 +1,6 @@
import { ButtonView, FocusCycler, LabelView, submitHandler, SwitchButtonView, View, ViewCollection, type FocusableView, Locale, FocusTracker, KeystrokeHandler } from 'ckeditor5';
-import IconCheck from '../../theme/icons/check.svg?raw';
-import IconCancel from '../../theme/icons/cancel.svg?raw';
+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 MathLiveInputView from './mathliveinputview.js';
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 65308fda25..54486943a0 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -1055,6 +1055,9 @@ importers:
packages/ckeditor5-math:
dependencies:
+ '@ckeditor/ckeditor5-icons':
+ specifier: 47.2.0
+ version: 47.2.0
mathlive:
specifier: 0.108.2
version: 0.108.2
@@ -15581,6 +15584,8 @@ snapshots:
'@ckeditor/ckeditor5-core': 47.2.0
'@ckeditor/ckeditor5-upload': 47.2.0
ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
dependencies:
@@ -16011,6 +16016,8 @@ snapshots:
'@ckeditor/ckeditor5-table': 47.2.0
'@ckeditor/ckeditor5-utils': 47.2.0
ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
+ transitivePeerDependencies:
+ - supports-color
'@ckeditor/[email protected]':
dependencies:
@@ -16495,8 +16502,6 @@ snapshots:
'@ckeditor/ckeditor5-ui': 47.2.0
'@ckeditor/ckeditor5-utils': 47.2.0
ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
- transitivePeerDependencies:
- - supports-color
'@ckeditor/[email protected]':
dependencies: