UNPKG

@atlaskit/editor-plugin-table

Version:

Table plugin for the @atlaskit/editor

11 lines (10 loc) 469 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.updatePluginStateDecorations = void 0; var _plugin = require("../decorations/plugin"); var _decoration = require("./decoration"); var updatePluginStateDecorations = exports.updatePluginStateDecorations = function updatePluginStateDecorations(state, decorations, key) { return (0, _decoration.updateDecorations)(state.doc, (0, _plugin.getDecorations)(state), decorations, key); };