@atlaskit/editor-core
Version:
A package contains Atlassian editor core functionality
5 lines (4 loc) • 407 B
TypeScript
import { EditorState, Transaction, EditorView, Schema } from '../../prosemirror';
export declare type TaskDecisionListType = 'taskList' | 'decisionList';
export declare const changeToTaskDecision: (view: EditorView, listType: TaskDecisionListType) => boolean;
export declare const createListAtSelection: (tr: Transaction, list: any, item: any, schema: Schema<any, any>, state: EditorState<any>) => boolean;