@atlaskit/editor-plugin-table
Version:
Table plugin for the @atlaskit/editor
11 lines (10 loc) • 420 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getAllowAddColumnCustomStep = getAllowAddColumnCustomStep;
var _pluginFactory = require("../plugin-factory");
function getAllowAddColumnCustomStep(state) {
var tablePluginState = (0, _pluginFactory.getPluginState)(state);
return Boolean(tablePluginState) && Boolean(tablePluginState.pluginConfig.allowAddColumnWithCustomStep);
}