We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
在一个项目中存在多个不同类型的画布,且都使用了复制粘贴功能(useLocalStorage开启)时,可能会存在因为插件中默认的LocalStorage的key相同导致拿到非本画布的剪切板数据,从而导致报错;
在new Clipboard时提供配置项设置useLocalStorage存储的key
The text was updated successfully, but these errors were encountered:
附议,我也遇到类似问题,A和B 两个画布的节点 shape 不同,开启 useLocalStorage 后从 A 画布复制节点到 B 画布时,会报错。这里有几个提议供参考:
[key: string]: nodes
'x6.clipboard.cells': { [key: string]: nodes}
Sorry, something went wrong.
fix: 使用@antv/x6-plugin-clipboard插件且useLocalStorage开启时,希望支持设置LocalStor…
e9bc3c7
…age的key antvis#4218
No branches or pull requests
功能描述
在一个项目中存在多个不同类型的画布,且都使用了复制粘贴功能(useLocalStorage开启)时,可能会存在因为插件中默认的LocalStorage的key相同导致拿到非本画布的剪切板数据,从而导致报错;
期望解决方案
在new Clipboard时提供配置项设置useLocalStorage存储的key
The text was updated successfully, but these errors were encountered: