UNPKG

@atlaskit/adf-schema

Version:

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

23 lines (22 loc) 631 B
import { BreakoutMarkDefinition } from '../marks'; export interface SyncBlockAttrs { /** * The ID of the resource to be synchronized. */ resourceId: string; /** * An optional UUID for unique identification of the node */ localId: string; } /** * Represents a block node that is designed to be synchronized * with an external resource across different products. * @name syncBlock_node */ export interface SyncBlockDefinition { type: 'syncBlock'; marks?: Array<BreakoutMarkDefinition>; attrs: SyncBlockAttrs; } export declare const syncBlock: import("prosemirror-model").NodeSpec;