UNPKG

@atlaskit/adf-utils

Version:

Set of utilities to traverse, modify and create ADF documents.

15 lines (14 loc) 357 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.breakout = void 0; var _applyMark = require("../utils/apply-mark"); var breakout = exports.breakout = function breakout(attrs) { return function (maybeNode) { return (0, _applyMark.applyMark)({ type: 'breakout', attrs: attrs }, maybeNode); }; };