X6
X6 copied to clipboard
节点拖拽到画布,缩放节点, 节点中间多处一个字符: -
Describe the bug
生成节点时候,给节点添加了textWrap 属性
Your Example Website or App
test
Steps to Reproduce the Bug or Issue
估计是为了解决其他bug,x6-common/src/dom/text.ts中默认加了一个 - 字符,通过 v-empty-line 属性不显示出来,但是缩放后,此属性去除了,所以又显示出来了
Expected behavior
希望尽快解决
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 2.11.1]
Additional context
No response
同时设置了tools: ['node-editor']属性和 attrs:{ label: { textWrap: { }, } }属性后,编辑文本之后无法清空
同时设置了tools: ['node-editor']属性和 attrs:{ label: { textWrap: { }, } }属性后,编辑文本之后无法清空
解决了吗?哥 我也碰到 无法解决