UNPKG

@wangeditor-next/code-highlight

Version:
10 lines (9 loc) 428 B
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[][];