diff --git a/apps/www/content/docs/autoformat.mdx b/apps/www/content/docs/autoformat.mdx index d632313c98..3e2ec5c090 100644 --- a/apps/www/content/docs/autoformat.mdx +++ b/apps/www/content/docs/autoformat.mdx @@ -47,8 +47,10 @@ import { createAutoformatPlugin } from '@udecode/plate-autoformat'; const plugins = [ // ...otherPlugins, createAutoformatPlugin({ - rules: autoformatRules, - enableUndoOnDelete: true, + options: { + rules: autoformatRules, + enableUndoOnDelete: true, + }, }), ]; ```