diff --git a/docs/tools-inline.md b/docs/tools-inline.md index 604a5e4c..6cc6064c 100644 --- a/docs/tools-inline.md +++ b/docs/tools-inline.md @@ -146,3 +146,22 @@ export default class BoldInlineTool implements InlineTool { // ... other methods } ``` + +### Using the inline tool + +To use the tool, you must register it in your config object under `tools`. Then you can use it in per block type. + +```json +{ + inlineToolbar: true, + tools: { + bold: BoldInlineTool, + paragraph: { + class: Paragraph, + inlineToolbar: [ + 'bold', + ] + }, + }, +} +```