UNPKG

@wangeditor-next/editor

Version:
13 lines (12 loc) 298 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;