improve options interface
This commit is contained in:
@@ -15,10 +15,10 @@ declare module '@tiptap/core' {
|
||||
}
|
||||
}
|
||||
|
||||
export const Paragraph = Node.create({
|
||||
export const Paragraph = Node.create<ParagraphOptions>({
|
||||
name: 'paragraph',
|
||||
|
||||
defaultOptions: <ParagraphOptions>{
|
||||
defaultOptions: {
|
||||
HTMLAttributes: {},
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user