@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
13 lines (12 loc) • 617 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getPluginState = exports.createPluginState = exports.createCommand = void 0;
var _utils = require("@atlaskit/editor-common/utils");
var _pluginKey = require("./plugin-key");
var _reducer = require("./reducer");
var _pluginFactory = (0, _utils.pluginFactory)(_pluginKey.pluginKey, _reducer.reducer),
createPluginState = exports.createPluginState = _pluginFactory.createPluginState,
createCommand = exports.createCommand = _pluginFactory.createCommand,
getPluginState = exports.getPluginState = _pluginFactory.getPluginState;