mirror of
https://github.com/makeplane/plane
synced 2024-06-14 14:31:34 +00: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:
parent
e54b940f86
commit
3865bbdd30
@ -53,6 +53,11 @@ export const CoreEditorExtensions = (
|
||||
class: "leading-normal -mb-2",
|
||||
},
|
||||
},
|
||||
hardBreak: {
|
||||
HTMLAttributes: {
|
||||
class: "p-2",
|
||||
},
|
||||
},
|
||||
code: false,
|
||||
codeBlock: false,
|
||||
horizontalRule: false,
|
||||
|
Loading…
Reference in New Issue
Block a user