Skip to content

Commit

Permalink
fix(rich-text-kit): Allow the ListKeymap extension to be configured (
Browse files Browse the repository at this point in the history
…#426)

fix(rich-text-kit): Allow `ListKeymap` to be configured
  • Loading branch information
rfgamaral committed Sep 4, 2023
1 parent 7c77ddc commit 7d789bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extensions/rich-text/rich-text-kit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ const RichTextKit = Extension.create<RichTextKitOptions>({
}

if (this.options.listKeymap !== false) {
extensions.push(ListKeymap)
extensions.push(ListKeymap.configure(this.options?.listKeymap))
}

if (this.options.orderedList !== false) {
Expand Down

0 comments on commit 7d789bb

Please sign in to comment.