From eed407b844c413e414b3d7b107b5fd72feb2f8bf Mon Sep 17 00:00:00 2001 From: yanmao <55792257+yanmao-cc@users.noreply.github.com> Date: Mon, 13 Dec 2021 00:59:08 +0800 Subject: [PATCH] Update range.ts --- packages/engine/src/types/range.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/engine/src/types/range.ts b/packages/engine/src/types/range.ts index 6662ff16..f49a82a7 100644 --- a/packages/engine/src/types/range.ts +++ b/packages/engine/src/types/range.ts @@ -26,6 +26,7 @@ export interface Range { * @param path * @param context 上下文,默认编辑器节点 * @param includeCardCursor 是否还原到卡片两侧光标处,必须保证 参数 path 中包含光标位置信息 + * @param root 根节点,默认编辑器根节点 */ fromPath( path: Path[],