Skip to content

Commit cf0da0a

Browse files
authored
Add headless toolbar note (#2734)
Add headless toolbar note
1 parent 34a68a8 commit cf0da0a

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

demos/toolbar/README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ An example of how to add a custom button to the SuperDoc toolbar. This custom bu
55
[We define the custom button in the `modules.toolbar.customButtons` option](https://github.com/superdoc-dev/superdoc/blob/main/demos/toolbar/src/main.js)
66

77
The button's action is to insert a custom `catNode`. [The custom node and its Prosemirror click-handler plugin are defined in the same file](https://github.com/superdoc-dev/superdoc/blob/main/demos/toolbar/src/main.js).
8+
9+
It is also possible to fully replace the toolbar with your own: [Headless Toolbar](https://docs.superdoc.dev/modules/toolbar/overview#learn-more)
10+
11+
More customization options here: https://docs.superdoc.dev/modules/toolbar/overview

0 commit comments

Comments
 (0)