@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
14 lines (13 loc) • 337 B
TypeScript
import type { NodeSpec } from '@atlaskit/editor-prosemirror/model';
/**
* @name placeholder_node
*/
export interface PlaceholderDefinition {
attrs: {
localId?: string;
text: string;
};
type: 'placeholder';
}
export declare const placeholder: NodeSpec;
export declare const placeholderWithLocalId: NodeSpec;