Use icons form CKEditor5 icons, instead of testing icons.

This commit is contained in:
meinzzzz 2025-11-23 22:43:07 +01:00
parent 5821c350e1
commit 4f044c4a57
3 changed files with 10 additions and 4 deletions

View File

@ -71,6 +71,7 @@
] ]
}, },
"dependencies": { "dependencies": {
"@ckeditor/ckeditor5-icons": "47.2.0",
"mathlive": "0.108.2" "mathlive": "0.108.2"
} }
} }

View File

@ -1,6 +1,6 @@
import { ButtonView, FocusCycler, LabelView, submitHandler, SwitchButtonView, View, ViewCollection, type FocusableView, Locale, FocusTracker, KeystrokeHandler } from 'ckeditor5'; import { ButtonView, FocusCycler, LabelView, submitHandler, SwitchButtonView, View, ViewCollection, type FocusableView, Locale, FocusTracker, KeystrokeHandler } from 'ckeditor5';
import IconCheck from '../../theme/icons/check.svg?raw'; import IconCheck from '@ckeditor/ckeditor5-icons/theme/icons/check.svg?raw';
import IconCancel from '../../theme/icons/cancel.svg?raw'; import IconCancel from '@ckeditor/ckeditor5-icons/theme/icons/cancel.svg?raw';
import { extractDelimiters, hasDelimiters } from '../utils.js'; import { extractDelimiters, hasDelimiters } from '../utils.js';
import MathView from './mathview.js'; import MathView from './mathview.js';
import MathLiveInputView from './mathliveinputview.js'; import MathLiveInputView from './mathliveinputview.js';

9
pnpm-lock.yaml generated
View File

@ -1055,6 +1055,9 @@ importers:
packages/ckeditor5-math: packages/ckeditor5-math:
dependencies: dependencies:
'@ckeditor/ckeditor5-icons':
specifier: 47.2.0
version: 47.2.0
mathlive: mathlive:
specifier: 0.108.2 specifier: 0.108.2
version: 0.108.2 version: 0.108.2
@ -15581,6 +15584,8 @@ snapshots:
'@ckeditor/ckeditor5-core': 47.2.0 '@ckeditor/ckeditor5-core': 47.2.0
'@ckeditor/ckeditor5-upload': 47.2.0 '@ckeditor/ckeditor5-upload': 47.2.0
ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41) ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
transitivePeerDependencies:
- supports-color
'@ckeditor/ckeditor5-ai@47.2.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)': '@ckeditor/ckeditor5-ai@47.2.0(bufferutil@4.0.9)(utf-8-validate@6.0.5)':
dependencies: dependencies:
@ -16011,6 +16016,8 @@ snapshots:
'@ckeditor/ckeditor5-table': 47.2.0 '@ckeditor/ckeditor5-table': 47.2.0
'@ckeditor/ckeditor5-utils': 47.2.0 '@ckeditor/ckeditor5-utils': 47.2.0
ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41) ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
transitivePeerDependencies:
- supports-color
'@ckeditor/ckeditor5-emoji@47.2.0': '@ckeditor/ckeditor5-emoji@47.2.0':
dependencies: dependencies:
@ -16495,8 +16502,6 @@ snapshots:
'@ckeditor/ckeditor5-ui': 47.2.0 '@ckeditor/ckeditor5-ui': 47.2.0
'@ckeditor/ckeditor5-utils': 47.2.0 '@ckeditor/ckeditor5-utils': 47.2.0
ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41) ckeditor5: 47.2.0(patch_hash=8331a09d41443b39ea1c784daaccfeb0da4f9065ed556e7de92e9c77edd9eb41)
transitivePeerDependencies:
- supports-color
'@ckeditor/ckeditor5-restricted-editing@47.2.0': '@ckeditor/ckeditor5-restricted-editing@47.2.0':
dependencies: dependencies: