feat: add priority option to extensions

This commit is contained in:
Philipp Kühn
2021-04-07 18:29:16 +02:00
parent 6d83bef97d
commit bb1ae659a4
12 changed files with 64 additions and 11 deletions

View File

@@ -20,6 +20,8 @@ declare module '@tiptap/core' {
export const Paragraph = Node.create<ParagraphOptions>({
name: 'paragraph',
priority: 1000,
defaultOptions: {
HTMLAttributes: {},
},