Hufe921 / canvas-editor

rich text editor by canvas/svg

Home Page:https://hufe.club/canvas-editor-docs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

当标题或列表中存在控件时,getControlList API 的返回结果不符合预期

junestars opened this issue · comments

version

0.9.85

Link to minimal reproduction

https://hufe.club/canvas-editor/

Steps to reproduce

1、创建一个标题,并在后面追加一个控件
2、创建一个列表,并在后面追加一个控件

如下图

5I1@PEW)U3JIXR{1LVKO@@E

What is expected?

返回仅有控件组成的数组

What is actually happening?

标题和列表中的控件会被包裹相应的类型之中,见重现步骤中的截图

System Info

No response

Any additional comments?

No response