-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #15440 from ckeditor/ck/15414
Other: The `undo` and `redo` toolbar components described in the `@ckeditor/ckeditor5-essentials/src/ckeditor5-metadata.json` file are now defined in the package that registers those buttons (`@ckeditor/ckeditor5-undo`). Closes #15414. Internal: The metadata validator does not accept an empty value of the `iconPath` field when checking the availability of SVG icons in a package.
- Loading branch information
Showing
4 changed files
with
37 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"plugins": [ | ||
{ | ||
"name": "Undo", | ||
"className": "Undo", | ||
"description": "Support the undo and redo functionalities.", | ||
"docs": "features/undo-redo.html", | ||
"path": "src/undo.js", | ||
"uiComponents": [ | ||
{ | ||
"type": "Button", | ||
"name": "undo", | ||
"iconPath": "@ckeditor/ckeditor5-undo/theme/icons/undo.svg" | ||
}, | ||
{ | ||
"type": "Button", | ||
"name": "redo", | ||
"iconPath": "@ckeditor/ckeditor5-undo/theme/icons/redo.svg" | ||
} | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters