mirror of
https://github.com/linsa-io/linsa.git
synced 2026-01-12 12:20:23 +01:00
15 lines
283 B
TypeScript
15 lines
283 B
TypeScript
import { Paragraph as TiptapParagraph } from "@tiptap/extension-paragraph"
|
|
|
|
export const Paragraph = TiptapParagraph.extend({
|
|
addOptions() {
|
|
return {
|
|
...this.parent?.(),
|
|
HTMLAttributes: {
|
|
class: "text-node",
|
|
},
|
|
}
|
|
},
|
|
})
|
|
|
|
export default Paragraph
|