UNPKG

@atlaskit/adf-schema

Version:

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

17 lines (16 loc) 369 B
import { MarkSpec } from '@atlaskit/editor-prosemirror/model'; export interface IndentationMarkAttributes { /** * @minimum 1 * @maximum 6 */ level: number; } /** * @name indentation_mark */ export interface IndentationMarkDefinition { type: 'indentation'; attrs: IndentationMarkAttributes; } export declare const indentation: MarkSpec;