UNPKG

@atlaskit/adf-schema

Version:

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

3 lines (2 loc) 260 B
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model'; export declare const copyPrivateAttributes: (from: Record<string, any>, to: Record<string, any>, attributes?: Partial<NodeSpec['attrs']>, map?: ((str: string) => string) | undefined) => void;