@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
11 lines (10 loc) • 508 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.extendedPanelWithLocalId = void 0;
var _nodeTypes = require("../../next-schema/generated/nodeTypes");
var _createPanelNodeSpecOptions = require("./create-panel-node-spec-options");
var extendedPanelWithLocalId = exports.extendedPanelWithLocalId = function extendedPanelWithLocalId(allowCustomPanel) {
return (0, _nodeTypes.panel)((0, _createPanelNodeSpecOptions.createPanelNodeSpecOptions)(allowCustomPanel, true));
};