Skip to content
New issue

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

Clipboard 提供change事件 #1826

Closed
lulei90 opened this issue Feb 18, 2022 · 4 comments · Fixed by #2335
Closed

Clipboard 提供change事件 #1826

lulei90 opened this issue Feb 18, 2022 · 4 comments · Fixed by #2335
Assignees
Labels
help wanted 需要认领 Issues to which we welcome contribution from the community type: feature 新功能 Feature/enhancement requests

Comments

@lulei90
Copy link

lulei90 commented Feb 18, 2022

功能描述

Clipboard提供对应变更事件、能够获取当前剪贴板信息
编辑提供对应的工具栏上有复制和粘贴功能 需要对可复制和粘贴的情况进行对应状态的展示
目前X6未提供对应事件,无法响应式获取剪贴板对应信息

期望解决方案

希望提供对应剪贴板操作变更的事件,能够获取对应 能否复制及粘贴的状态信息

@NewByVector
Copy link
Contributor

NewByVector commented Feb 18, 2022

这个可以结合 getCellsInClipboard 外部实现的,可以描述下用现在的 api 无法实现的场景。

@NewByVector NewByVector self-assigned this Feb 18, 2022
@NewByVector NewByVector added the resolution: needs more info 需要更多信息 Issues that require more information from their reporters label Feb 18, 2022
@x6-bot x6-bot bot closed this as completed Feb 18, 2022
@NewByVector NewByVector reopened this Feb 18, 2022
@NewByVector NewByVector removed the resolution: needs more info 需要更多信息 Issues that require more information from their reporters label Feb 18, 2022
@antvis antvis deleted a comment from x6-bot bot Feb 18, 2022
@NewByVector NewByVector added the type: feature 新功能 Feature/enhancement requests label Feb 18, 2022
@lulei90
Copy link
Author

lulei90 commented Feb 21, 2022

这个可以结合 getCellsInClipboard 外部实现的,可以描述下用现在的 api 无法实现的场景。

具体场景是基于X6实现的编辑上有个Toolbar工具 需要展示复制和粘贴的icon 希望是能够通过剪贴板的事件,响应式的设置对应icon的可编辑状态;使用getCellsInClipboard没法控制调用时机,希望能够提供对应事件获取剪贴板的状态信息,类似historyselectionchange事件

@x6-bot
Copy link
Contributor

x6-bot bot commented Mar 14, 2022

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the AntV community! 💪💯

@x6-bot x6-bot bot added the stale Issue that may be closed soon due to the original author not responding any more. label Mar 14, 2022
@NewByVector NewByVector removed the stale Issue that may be closed soon due to the original author not responding any more. label Mar 26, 2022
@NewByVector NewByVector added the help wanted 需要认领 Issues to which we welcome contribution from the community label Apr 21, 2022
@NewByVector NewByVector linked a pull request Jul 8, 2022 that will close this issue
15 tasks
@x6-bot
Copy link
Contributor

x6-bot bot commented Jul 9, 2023

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jul 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted 需要认领 Issues to which we welcome contribution from the community type: feature 新功能 Feature/enhancement requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants