Skip to content

Commit

Permalink
Merge pull request #2999 from Lenghak/main
Browse files Browse the repository at this point in the history
fix: Doc missing 'options' for autoFormatPlugin
  • Loading branch information
12joan authored Feb 28, 2024
2 parents 7571ede + d0f1804 commit 8548304
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/www/content/docs/autoformat.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,10 @@ import { createAutoformatPlugin } from '@udecode/plate-autoformat';
const plugins = [
// ...otherPlugins,
createAutoformatPlugin({
rules: autoformatRules,
enableUndoOnDelete: true,
options: {
rules: autoformatRules,
enableUndoOnDelete: true,
},
}),
];
```
Expand Down

0 comments on commit 8548304

Please sign in to comment.