UNPKG

@atlaskit/adf-schema

Version:

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

9 lines (8 loc) 237 B
import { NodeSpec, MarkSpec } from '@atlaskit/editor-prosemirror/model'; export declare function sanitizeNodes(nodes: { [key: string]: NodeSpec; }, supportedMarks: { [key: string]: MarkSpec; }): { [key: string]: NodeSpec; };