@wangeditor-next/editor
Version:
Web rich text editor, Web 富文本编辑器
16 lines (15 loc) • 399 B
TypeScript
/**
* @description render indent style
* @author wangfupeng
*/
import { IDomEditor } from '@wangeditor-next/core';
import { Descendant } from 'slate';
import { VNode } from 'snabbdom';
/**
* 添加样式
* @param node slate elem
* @param vnode vnode
* @param editor editor
* @returns vnode
*/
export declare function renderStyle(node: Descendant, vnode: VNode, editor?: IDomEditor): VNode;