Skip to content

Commit

Permalink
docs: updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
SaraBianchi committed Jan 27, 2025
1 parent 510f8c1 commit bee3790
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,22 @@ Collapsed blocks
<img alt="Form counter" src="./docs/collapsed-blocks.png" width="700" />



## Optional
If you want to improve the display of html and slate table blocks toolbars, add this configuration:

```code
config.blocks.blocksConfig = {
...config.blocks.blocksConfig,
html: {
...config.blocks.blocksConfig.html,
edit: EditHTMLBlock,
},
slateTable: {
...config.blocks.blocksConfig.slateTable,
edit: TableBlockEdit,
},
};
```

## Attention!

Expand Down

0 comments on commit bee3790

Please sign in to comment.