Skip to content

Commit 9807b3d

Browse files
Dimo DimovDimo Dimov
authored andcommitted
docs: Improve Editor custom tools docs
1 parent 5e89aca commit 9807b3d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/editor/custom-tool.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ In this article:
2525

2626
To create a custom tool:
2727

28-
1. Make sure your editor has the `<EditorCustomTools>` tag.
28+
1. Make sure your Editor has the `<EditorCustomTools>` tag.
2929

30-
1. Under it, add an `<EditorCustomTool>` tag and set its `Name` parameter to something you can use to distinguish this tool. You can add more than one custom tool in an editor.
30+
1. Under it, add an `<EditorCustomTool>` tag and set its `Name` parameter to something you can use to distinguish this tool. You can add more than one custom tool in the Editor.
3131

3232
1. Inside that tag, add your custom content (e.g., buttons, dropdowns, etc.) with their desired rendering, data, logic, event handlers.
3333

34-
1. Add the custom tool to the toolbar (see [how to control toolbars]({%slug editor-toolbars%})). You can add the custom tools in the desired order and position, regardless of their order in the markup. Custom tools can be added as standalone tools only, not inside an `EditorButtonGroup`.
34+
1. [Add the custom tool to the Editor toolbar via the `Tools` collection]({%slug editor-toolbars%}#choose-toolbar-items). You can add the custom tools in the desired order and position, regardless of their order in the markup. Custom tools can be added as standalone tools only, not inside an `EditorButtonGroup`.
3535

3636
1. Manipulate the editor content as desired from the custom content events (like clicks) - either through the [editor commands]({%slug editor-built-in-tools%}), or with your own code that manipulates its `Value` field contents.
3737

0 commit comments

Comments
 (0)