mirror of
https://github.com/ueberdosis/tiptap.git
synced 2024-11-23 19:19:03 +08:00
fix: Use undefined for type attribute default (#5491)
This commit is contained in:
parent
da76972998
commit
c36e4c3afc
5
.changeset/ordered-list-type-attr-undefined.md
Normal file
5
.changeset/ordered-list-type-attr-undefined.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/extension-ordered-list": patch
|
||||
---
|
||||
|
||||
fix: Use undefined for type attribute default
|
@ -85,7 +85,7 @@ export const OrderedList = Node.create<OrderedListOptions>({
|
||||
},
|
||||
},
|
||||
type: {
|
||||
default: null,
|
||||
default: undefined,
|
||||
parseHTML: element => element.getAttribute('type'),
|
||||
},
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user