From ff0a24df557c4338b9373f6a348bd58bf9b376ad Mon Sep 17 00:00:00 2001 From: Elian Doran Date: Mon, 5 May 2025 23:04:27 +0300 Subject: [PATCH] chore(ckeditor): set correct metadata --- .../ckeditor5-metadata.json | 2 +- .../ckeditor5-metadata.json | 4 +-- .../ckeditor5-metadata.json | 2 +- .../ckeditor5-math/ckeditor5-metadata.json | 36 +++++++++++-------- .../ckeditor5-mermaid/ckeditor5-metadata.json | 4 +-- 5 files changed, 27 insertions(+), 21 deletions(-) diff --git a/packages/ckeditor5-admonition/ckeditor5-metadata.json b/packages/ckeditor5-admonition/ckeditor5-metadata.json index a0fb3a623..20505eac3 100644 --- a/packages/ckeditor5-admonition/ckeditor5-metadata.json +++ b/packages/ckeditor5-admonition/ckeditor5-metadata.json @@ -9,7 +9,7 @@ { "name": "admonition", "type": "Button", - "iconPath": "theme/icons/ckeditor.svg" + "iconPath": "theme/icons/admonition.svg" } ], "htmlOutput": [ diff --git a/packages/ckeditor5-footnotes/ckeditor5-metadata.json b/packages/ckeditor5-footnotes/ckeditor5-metadata.json index c2dac4726..40825886a 100644 --- a/packages/ckeditor5-footnotes/ckeditor5-metadata.json +++ b/packages/ckeditor5-footnotes/ckeditor5-metadata.json @@ -7,9 +7,9 @@ "path": "src/footnotes.ts", "uiComponents": [ { - "name": "footnotes", + "name": "insertFootnote", "type": "Button", - "iconPath": "theme/icons/ckeditor.svg" + "iconPath": "theme/icons/insert-footnote.svg" } ] } diff --git a/packages/ckeditor5-keyboard-marker/ckeditor5-metadata.json b/packages/ckeditor5-keyboard-marker/ckeditor5-metadata.json index 8e5df81a5..a15c37d20 100644 --- a/packages/ckeditor5-keyboard-marker/ckeditor5-metadata.json +++ b/packages/ckeditor5-keyboard-marker/ckeditor5-metadata.json @@ -9,7 +9,7 @@ { "name": "keyboardMarker", "type": "Button", - "iconPath": "theme/icons/ckeditor.svg" + "iconPath": "theme/icons/kbd.svg" } ] } diff --git a/packages/ckeditor5-math/ckeditor5-metadata.json b/packages/ckeditor5-math/ckeditor5-metadata.json index 6a258a735..b8f844d9c 100644 --- a/packages/ckeditor5-math/ckeditor5-metadata.json +++ b/packages/ckeditor5-math/ckeditor5-metadata.json @@ -1,17 +1,23 @@ { - "plugins": [ - { - "name": "Math", - "className": "Math", - "description": "Adds text to the editor.", - "path": "src/math.ts", - "uiComponents": [ - { - "name": "math", - "type": "Button", - "iconPath": "theme/icons/ckeditor.svg" - } - ] - } - ] + "plugins": [ + { + "name": "Math", + "className": "Math", + "description": "Adds mathematical formulas to the editor.", + "path": "src/math.js", + "uiComponents": [ + { + "name": "math", + "type": "Button", + "iconPath": "theme/icons/math.svg" + } + ] + }, + { + "name": "AutoformatMath", + "className": "AutoformatMath", + "description": "Implements autoformatting with mathematical formulas.", + "path": "src/autoformatmath.js" + } + ] } diff --git a/packages/ckeditor5-mermaid/ckeditor5-metadata.json b/packages/ckeditor5-mermaid/ckeditor5-metadata.json index 0f42962ec..a43a183a9 100644 --- a/packages/ckeditor5-mermaid/ckeditor5-metadata.json +++ b/packages/ckeditor5-mermaid/ckeditor5-metadata.json @@ -3,13 +3,13 @@ { "name": "Mermaid", "className": "Mermaid", - "description": "Adds text to the editor.", + "description": "Mermaid widget for CKEditor 5.", "path": "src/mermaid.ts", "uiComponents": [ { "name": "mermaid", "type": "Button", - "iconPath": "theme/icons/ckeditor.svg" + "iconPath": "theme/icons/insert.svg" } ] }