Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

当使用textwrap 时候 让文本 超出宽度自动换行,之后选择的时候增加node-editor双击编辑工具 有冲突 #4533

Open
liv-rong opened this issue Dec 19, 2024 · 2 comments

Comments

@liv-rong
Copy link

问题描述

当使用textwrap 时候 让文本 超出宽度自动换行,之后选择的时候增加node-editor双击编辑工具 有冲突,

  • 原来的文本会显示,如果用透明度修改 会有一闪现 效果 体验不是很好,
  • 而且会自动删除换行,正常不应该有换行的吗
  • 当双击点击的时候 删除完文字的时候 ,文本删除完全不了
  • 编辑的时候 不能完全复现 编辑之前的文字样式(比如 居中 居左 居中 顶部对齐)

重现链接

https://codesandbox.io/p/sandbox/suspicious-cookies-gfg5gk?file=%2FApp.tsx%3A48%2C47

重现步骤

  1. 使用node-editor 的时候 不能完全显示 修改过后的文本样式 (居中 距顶 距底)
  2. 当使用textwarp 文本自动换行 在使用 node-editor的时候 会有冲突

预期行为

我期望看到 当使用textwrap 时候 让文本 超出宽度自动换行,之后选择的时候增加node-editor双击编辑工具 编辑的时候 能正常使用 显示原来的文本样式
但是有冲突

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox ...]
  • X6 版本: [2.11.1 ...]

屏幕截图或视频(可选)

image

20241219-094021.mp4

补充说明(可选)

No response

@Yeti-xxx
Copy link

我也遇到过,所以后面干脆自己写了个双击修改文本的插件

@hisuperwen
Copy link

我也遇到过,所以后面干脆自己写了个双击修改文本的插件

大佬 怎么实现的 可以分享下吗

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants