diff --git a/apps/www/src/registry/default/components/editor/plugins/autoformat-list-plugin.ts b/apps/www/src/registry/default/components/editor/plugins/autoformat-list-plugin.ts index 48763abe3..c5c6a0bd0 100644 --- a/apps/www/src/registry/default/components/editor/plugins/autoformat-list-plugin.ts +++ b/apps/www/src/registry/default/components/editor/plugins/autoformat-list-plugin.ts @@ -199,7 +199,6 @@ export const autoformatBlocks: AutoformatRule[] = [ match: '```', mode: 'block', preFormat, - triggerAtBlockStart: false, type: CodeBlockPlugin.key, }, { diff --git a/apps/www/src/registry/default/components/editor/plugins/autoformat-plugin.ts b/apps/www/src/registry/default/components/editor/plugins/autoformat-plugin.ts index f62a0c8c7..3ba0f5681 100644 --- a/apps/www/src/registry/default/components/editor/plugins/autoformat-plugin.ts +++ b/apps/www/src/registry/default/components/editor/plugins/autoformat-plugin.ts @@ -175,7 +175,6 @@ export const autoformatBlocks: AutoformatRule[] = [ }, match: '```', mode: 'block', - triggerAtBlockStart: false, type: CodeBlockPlugin.key, }, { diff --git a/templates/plate-playground-template/src/components/editor/plugins/autoformat-plugin.ts b/templates/plate-playground-template/src/components/editor/plugins/autoformat-plugin.ts index f62a0c8c7..3ba0f5681 100644 --- a/templates/plate-playground-template/src/components/editor/plugins/autoformat-plugin.ts +++ b/templates/plate-playground-template/src/components/editor/plugins/autoformat-plugin.ts @@ -175,7 +175,6 @@ export const autoformatBlocks: AutoformatRule[] = [ }, match: '```', mode: 'block', - triggerAtBlockStart: false, type: CodeBlockPlugin.key, }, {