UNPKG

@wangeditor/basic-modules

Version:
13 lines (12 loc) 310 B
/** * @description textStyle to html * @author wangfupeng */ import { Descendant } from 'slate'; /** * style to html * @param textNode slate text node * @param textHtml text html * @returns styled html */ export declare function styleToHtml(textNode: Descendant, textHtml: string): string;