Hufe921 / canvas-editor

rich text editor by canvas/svg
https://hufe.club/canvas-editor-docs
MIT License
3.43k stars 498 forks source link

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

Closed junestars closed 1 month ago

junestars commented 1 month ago

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