@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
10 lines (9 loc) • 371 B
TypeScript
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
/**
* @name extended_panel
*
* it allows more content to be nested as compared to panel node.
* Specifically, it allows Media, action, code-block, rule and decision nodes in
* addition to content allowed inside panel
*/
export declare const extendedPanel: (allowCustomPanel: boolean) => NodeSpec;