leafer-ui icon indicating copy to clipboard operation
leafer-ui copied to clipboard

文字元素内容变更后如何更新选中选框?

Open 826327700 opened this issue 7 months ago • 1 comments

Image 原本文字内容是:双击编辑文字,双击编辑后新增文字:二次增加文字。内容变更后,选框没有更新。 修改字间距等也会有同样问题

826327700 avatar May 29 '25 13:05 826327700

如果是你resize了文本导致的,设置一下 text.width = text.height = null 就会自动适应内容宽高了。

leaferjs avatar May 30 '25 05:05 leaferjs