UNPKG

@atlaskit/editor-plugin-batch-attribute-updates

Version:

Provider a runtime tool to merge an array of SetAttrsStep and/or AttrsSteps into an unique BatchAttrsStep

15 lines (14 loc) 432 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.batchAttributeUpdatesPlugin = void 0; var _batchStepsAction = require("./editor-actions/batch-steps-action"); var batchAttributeUpdatesPlugin = exports.batchAttributeUpdatesPlugin = function batchAttributeUpdatesPlugin() { return { name: 'batchAttributeUpdates', actions: { batchSteps: _batchStepsAction.batchSteps } }; };