You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: demos/toolbar/README.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,3 +5,7 @@ An example of how to add a custom button to the SuperDoc toolbar. This custom bu
5
5
[We define the custom button in the `modules.toolbar.customButtons` option](https://github.com/superdoc-dev/superdoc/blob/main/demos/toolbar/src/main.js)
6
6
7
7
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