@wangeditor-next/code-highlight
Version:
wangEditor code-highlight module
26 lines (25 loc) • 609 B
TypeScript
import { CustomTypes, ExtendedType } from 'slate';
type ElementType = ExtendedType<'Element', CustomTypes>['type'];
export interface WithTableOptions {
blocks: {
td: ElementType;
th: ElementType;
content: ElementType;
tr: ElementType;
table: ElementType;
tbody: ElementType;
tfoot: ElementType;
thead: ElementType;
};
}
export declare const DEFAULT_WITH_TABLE_OPTIONS: {
blocks: {
td: string;
th: string;
content: string;
tr: string;
table: string;
tbody: string;
};
};
export {};