UNPKG

@atlaskit/adf-schema

Version:

Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs

19 lines (18 loc) 778 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.extendedPanelC1 = void 0; var _nodeTypes = require("../../next-schema/generated/nodeTypes"); var _createPanelNodeSpecOptions = require("./create-panel-node-spec-options"); /** * @name extended_panel_c1 * * Depth-level-1 variant of panel. Allows all standard panel content * plus table nodes. Derives its parseDOM/toDOM behaviour from the same * createPanelNodeSpecOptions helper as extendedPanel so that allowCustomPanel * and generateLocalId propagate identically. */ var extendedPanelC1 = exports.extendedPanelC1 = function extendedPanelC1(allowCustomPanel) { return (0, _nodeTypes.panelC1Stage0)((0, _createPanelNodeSpecOptions.createPanelNodeSpecOptions)(allowCustomPanel)); };