"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BaseKeymap = void 0;
const prosemirror_commands_1 = require("prosemirror-commands");
const prosemirror_inputrules_1 = require("prosemirror-inputrules");
/**
 * Add this extension after all other extensions with keymaps
 */
const BaseKeymap = (builder) => {
    builder
        .addKeymap(() => ({
        Backspace: prosemirror_inputrules_1.undoInputRule,
        'Mod-BracketLeft': prosemirror_commands_1.lift,
        'Alt-Shift-Escape': prosemirror_commands_1.selectParentNode,
    }), builder.Priority.Lowest)
        .addKeymap(() => prosemirror_commands_1.baseKeymap, builder.Priority.Lowest);
};
exports.BaseKeymap = BaseKeymap;
//# sourceMappingURL=index.js.map
