@wangeditor-next/yjs-for-react
Version:
React specific components/utils for wangeditor-next-yjs.
11 lines (10 loc) • 396 B
TypeScript
/**
* @description compose semantic outline HTML from additive list-item metadata
*/
import { HtmlTransformFnType } from '@wangeditor-next/core';
/**
* List-item serialization remains backward compatible for ordinary lists.
* Only outline list items need document-level composition to create valid
* `ol > li > hN` structure.
*/
export declare const transformListHtml: HtmlTransformFnType;