antvis / X6

🚀 JavaScript diagramming library that uses SVG and HTML for rendering.
https://x6.antv.antgroup.com
MIT License
5.7k stars 1.7k forks source link

双击编辑后,再进行回退操作,回退时会记录到文本清空操作,如何避免 #4072

Open zzpc1527 opened 10 months ago

zzpc1527 commented 10 months ago

问题描述

双击编辑后,再进行回退操作,回退时会记录到文本清空操作

重现链接

https://codesandbox.io/s/new

重现步骤

node.addTools({ name: 'node-editor', })

预期行为

双击编辑后,再进行回退操作,回退时会记录到文本清空操作,如何避免

平台

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

x6-bot[bot] commented 10 months ago

👋 @zzpc1527

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. To help make it easier for us to investigate your issue, please follow the contributing guidelines. We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

apankun commented 10 months ago

重现链接打开是空的sandbox~

看下是不是这个 https://github.com/antvis/X6/issues/3869

Huzi-y commented 9 months ago

同样遇到了这个问题

zlecheng commented 5 months ago

看下这个文档中的历史记录:https://www.yuque.com/sxd_panda/antv/x6