-
我现在需要监听用户通过ctrl+v或者右键复制,复制出来的节点我还需要进一步处理,请问有没有内置函数可以监听到节点复制的函数,并可以获取到复制节点的nodes呀? |
Beta Was this translation helpful? Give feedback.
Answered by
towersxu
Jun 21, 2023
Replies: 2 comments 2 replies
-
你可以参考源码中的ctrl+v功能,自定义此功能。 |
Beta Was this translation helpful? Give feedback.
1 reply
-
首先看自定义快捷键文档:https://site.logic-flow.cn/docs/#/zh/guide/basic/keyboard LogicFlow/packages/core/src/keyboard/shortcut.ts Lines 61 to 74 in 3890679 |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
paiap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
首先看自定义快捷键文档:https://site.logic-flow.cn/docs/#/zh/guide/basic/keyboard
然后把参考内置的自定义功能进行修改。
LogicFlow/packages/core/src/keyboard/shortcut.ts
Lines 61 to 74 in 3890679