@wangeditor-next/editor
Version:
Web rich text editor, Web 富文本编辑器
10 lines (9 loc) • 428 B
TypeScript
import { Editor, Location, NodeEntry } from 'slate';
import { CellElement, NodeEntryWithContext } from './types';
/** Generates a matrix for each table section (`thead`, `tbody`, `tfoot`) */
export declare function matrices(editor: Editor, options?: {
at?: Location;
}): Generator<NodeEntry<CellElement>[][]>;
export declare function filledMatrix(editor: Editor, options?: {
at?: Location;
}): NodeEntryWithContext[][];