Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
orderedListRule = _require.orderedListRule,
bulletListRule = _require.bulletListRule,
codeBlockRule = _require.codeBlockRule,
headingRule = _require.headingRule,
inputRules = _require.inputRules,
allInputRules = _require.allInputRules,
InputRule = _require.InputRule;
var _require2 = require('prosemirror-keymap'),
keymap = _require2.keymap;
var _require3 = require('prosemirror-history'),
history = _require3.history;
var _require4 = require('prosemirror-commands'),
baseKeymap = _require4.baseKeymap;
var _require5 = require('prosemirror-state'),
Plugin = _require5.Plugin;
var _require6 = require('./menu-config'),
buildMenuItems = _require6.buildMenuItems;
exports.buildMenuItems = buildMenuItems;
var _require7 = require('./keymap'),
buildKeymap = _require7.buildKeymap;
exports.buildKeymap = buildKeymap;
function pubpubSetup(options) {
var deps = [inputRules({ rules: allInputRules.concat(buildInputRules(options.schema)) }), keymap(buildKeymap(options.schema, options.mapKeys)), keymap(baseKeymap)];