opentiny/tiny-engine

🐛 [Bug]: 区块编辑内容时,如果点击右上角清除画板内容,右侧属性面板不再展示添加属性按钮

Closed this issue · 3 comments

Environment

mac

Version

16

Version

latest

Link to minimal reproduction

暂无

Step to reproduce

编辑区块详情时,直接点击清除按钮
image

What is expected

No response

What is actually happening

No response

What is your project name

Any additional comments (optional)

No response

Bot detected the issue body's language is not English, translate it automatically.


Title: 🐛 [Bug]: When editing content in a block, if you click on the upper right corner to clear the artboard content, the property panel on the right will no longer display the add property button.

点击工具栏清空按钮之后,画布内容全部被清空,意味着当前选中内容也被清空,故无绑定属性按钮
@youchen133

Bot detected the issue body's language is not English, translate it automatically.


After clicking the clear button on the toolbar, all the contents of the canvas are cleared, which means that the currently selected content is also cleared, so there is no bound attribute button.
@youchen133