diff --git a/packages/editor/core/src/ui/extensions/index.tsx b/packages/editor/core/src/ui/extensions/index.tsx index 19d8ce894..6ae5ba7a7 100644 --- a/packages/editor/core/src/ui/extensions/index.tsx +++ b/packages/editor/core/src/ui/extensions/index.tsx @@ -53,6 +53,11 @@ export const CoreEditorExtensions = ( class: "leading-normal -mb-2", }, }, + hardBreak: { + HTMLAttributes: { + class: "p-2", + }, + }, code: false, codeBlock: false, horizontalRule: false,