@atlaskit/adf-schema
Version:
Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs
17 lines (16 loc) • 352 B
TypeScript
import { MarkSpec } from '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;