mirror of
https://github.com/makeplane/plane.git
synced 2026-02-24 12:11:39 +01:00
✨ feat: Add support for hardBreak extension
This commit adds support for the hardBreak extension in the `CoreEditorExtensions` component located at `packages/editor/core/src/ui/extensions/index.tsx`. The extension now includes an HTMLAttributes object with a class of "p-2" for styling purposes.
This commit is contained in:
@@ -53,6 +53,11 @@ export const CoreEditorExtensions = (
|
||||
class: "leading-normal -mb-2",
|
||||
},
|
||||
},
|
||||
hardBreak: {
|
||||
HTMLAttributes: {
|
||||
class: "p-2",
|
||||
},
|
||||
},
|
||||
code: false,
|
||||
codeBlock: false,
|
||||
horizontalRule: false,
|
||||
|
||||
Reference in New Issue
Block a user