import { BulletList as t } from "@tiptap/extension-bullet-list"
import { exitAfterBlock as o, exitBeforeBlock as r } from "./helpers/index.js"
export const BulletList = t.extend({
addKeyboardShortcuts() {
const t = o.bind(this),
e = r.bind(this)
return {
"Mod-Shift-8": () => this.editor.commands.toggleBulletList(),
ArrowUp: () => e(),
ArrowLeft: () => e(),
ArrowDown: () => t(),
ArrowRight: () => t(),
}
},
})