mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
chore(ckeditor): set correct metadata
This commit is contained in:
parent
307c322165
commit
ff0a24df55
@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
"name": "admonition",
|
"name": "admonition",
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"iconPath": "theme/icons/ckeditor.svg"
|
"iconPath": "theme/icons/admonition.svg"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"htmlOutput": [
|
"htmlOutput": [
|
||||||
|
@ -7,9 +7,9 @@
|
|||||||
"path": "src/footnotes.ts",
|
"path": "src/footnotes.ts",
|
||||||
"uiComponents": [
|
"uiComponents": [
|
||||||
{
|
{
|
||||||
"name": "footnotes",
|
"name": "insertFootnote",
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"iconPath": "theme/icons/ckeditor.svg"
|
"iconPath": "theme/icons/insert-footnote.svg"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
{
|
{
|
||||||
"name": "keyboardMarker",
|
"name": "keyboardMarker",
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"iconPath": "theme/icons/ckeditor.svg"
|
"iconPath": "theme/icons/kbd.svg"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
@ -1,17 +1,23 @@
|
|||||||
{
|
{
|
||||||
"plugins": [
|
"plugins": [
|
||||||
{
|
{
|
||||||
"name": "Math",
|
"name": "Math",
|
||||||
"className": "Math",
|
"className": "Math",
|
||||||
"description": "Adds text to the editor.",
|
"description": "Adds mathematical formulas to the editor.",
|
||||||
"path": "src/math.ts",
|
"path": "src/math.js",
|
||||||
"uiComponents": [
|
"uiComponents": [
|
||||||
{
|
{
|
||||||
"name": "math",
|
"name": "math",
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"iconPath": "theme/icons/ckeditor.svg"
|
"iconPath": "theme/icons/math.svg"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
},
|
||||||
]
|
{
|
||||||
|
"name": "AutoformatMath",
|
||||||
|
"className": "AutoformatMath",
|
||||||
|
"description": "Implements autoformatting with mathematical formulas.",
|
||||||
|
"path": "src/autoformatmath.js"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
@ -3,13 +3,13 @@
|
|||||||
{
|
{
|
||||||
"name": "Mermaid",
|
"name": "Mermaid",
|
||||||
"className": "Mermaid",
|
"className": "Mermaid",
|
||||||
"description": "Adds text to the editor.",
|
"description": "Mermaid widget for CKEditor 5.",
|
||||||
"path": "src/mermaid.ts",
|
"path": "src/mermaid.ts",
|
||||||
"uiComponents": [
|
"uiComponents": [
|
||||||
{
|
{
|
||||||
"name": "mermaid",
|
"name": "mermaid",
|
||||||
"type": "Button",
|
"type": "Button",
|
||||||
"iconPath": "theme/icons/ckeditor.svg"
|
"iconPath": "theme/icons/insert.svg"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user