@wangeditor-next/code-highlight
Version:
wangEditor code-highlight module
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[][];