Skip to content

Commit

Permalink
feat: Support type attribute for ordered lists
Browse files Browse the repository at this point in the history
  • Loading branch information
bastianjoel committed Jul 15, 2024
1 parent 226a0df commit 517f318
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/extension-ordered-list/src/ordered-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,10 @@ export const OrderedList = Node.create<OrderedListOptions>({
: 1
},
},
type: {
default: null,
parseHTML: element => element.getAttribute('type')
},
}
},

Expand Down

0 comments on commit 517f318

Please sign in to comment.