@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
4 lines (3 loc) • 367 B
TypeScript
import type { NodeSpec, MarkSpec } from '@atlaskit/editor-prosemirror/model';
import type { SchemaBuiltInItem, SchemaCustomMarkSpecs, SchemaCustomNodeSpecs } from './create-schema';
export declare function addItems(builtInItems: SchemaBuiltInItem[], config: string[], customSpecs?: SchemaCustomNodeSpecs | SchemaCustomMarkSpecs): Record<string, NodeSpec | MarkSpec>;