UNPKG

@react-page-plugins/slate-table

Version:
34 lines 1.2 kB
import { Editor } from 'slate'; export declare const isBlockActive: (editor: Editor, format: string) => boolean; export declare const isMarkActive: (editor: Editor, format: string) => boolean; export declare const toggleBlock: (editor: Editor, format: string) => void; export declare const toggleMark: (editor: Editor, format: string) => void; export declare const countRowCol: (table: any) => any[]; export declare const getContext: (editor: any) => { selection: any; rcount: any; ccount: any; cell: any; cellPath: any; row: any; rowPath: any; }; export declare const withTables: (editor: Editor) => Editor; declare const _default: { toggleBlock: (editor: Editor, format: string) => void; toggleMark: (editor: Editor, format: string) => void; isBlockActive: (editor: Editor, format: string) => boolean; isMarkActive: (editor: Editor, format: string) => boolean; getContext: (editor: any) => { selection: any; rcount: any; ccount: any; cell: any; cellPath: any; row: any; rowPath: any; }; withTables: (editor: Editor) => Editor; }; export default _default; //# sourceMappingURL=core.d.ts.map