UNPKG

@atlaskit/editor-plugin-table

Version:

Table plugin for the @atlaskit/editor

18 lines (17 loc) 493 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.composeDecorations = void 0; var composeDecorations = exports.composeDecorations = function composeDecorations(transformers) { return function (_ref) { var decorationSet = _ref.decorationSet, tr = _ref.tr; return transformers.reduce(function (decorationSet, transform) { return transform({ decorationSet: decorationSet, tr: tr }); }, decorationSet); }; };