Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
'use strict';
var _require = require('prosemirror-commands'),
wrapIn = _require.wrapIn,
setBlockType = _require.setBlockType,
chainCommands = _require.chainCommands,
newlineInCode = _require.newlineInCode,
toggleMark = _require.toggleMark;
var _require2 = require('prosemirror-schema-table'),
selectNextCell = _require2.selectNextCell,
selectPreviousCell = _require2.selectPreviousCell;
var _require3 = require('prosemirror-schema-list'),
wrapInList = _require3.wrapInList,
splitListItem = _require3.splitListItem,
liftListItem = _require3.liftListItem,
sinkListItem = _require3.sinkListItem;
var _require4 = require('prosemirror-history'),
undo = _require4.undo,
redo = _require4.redo;
// const { Selection, TextSelection } = require('prosemirror-state');
'use strict';
var _require = require('prosemirror-commands'),
wrapIn = _require.wrapIn,
setBlockType = _require.setBlockType,
chainCommands = _require.chainCommands,
newlineInCode = _require.newlineInCode,
toggleMark = _require.toggleMark;
var _require2 = require('prosemirror-schema-table'),
selectNextCell = _require2.selectNextCell,
selectPreviousCell = _require2.selectPreviousCell;
var _require3 = require('prosemirror-schema-list'),
wrapInList = _require3.wrapInList,
splitListItem = _require3.splitListItem,
liftListItem = _require3.liftListItem,
sinkListItem = _require3.sinkListItem;
var _require4 = require('prosemirror-history'),
undo = _require4.undo,
redo = _require4.redo;
// const { Selection, TextSelection } = require('prosemirror-state');