Comments (2)
可以参考这个文件:https://github.com/wanglin2/mind-map/blob/main/web/src/pages/Edit/components/Contextmenu.vue#L141
注册一个新的快捷键,键名可以参考这里:https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/src/utils/keyMap.js,命令函数可以在这里找:https://github.com/wanglin2/mind-map/blob/main/simple-mind-map/src/Render.js#L230
示例:
this.mindMap.keyCommand.addShortcut('Alt+Up', () => {
this.mindMap.execCommand('UP_NODE')
});
from mind-map.
已成功修改!!感谢大佬~
from mind-map.
Related Issues (20)
- 作者能否修改一下图标的大小
- 怎么可以通过 uid 获取到某个 NODE 示例 HOT 1
- 协同编辑时的人员头像增加鼠标事件 HOT 1
- 创建节点后,产生了多余的操作记录 HOT 1
- 验证:连续多次调用setFullData会异常 HOT 1
- 支持彩虹线条 HOT 1
- 写一篇AI生成节点的教程
- [ Open file feature ] HOT 1
- 节点实例新增获取祖先节点数据的方法 HOT 1
- 新增增量更新画布数据的方法 HOT 1
- 同步问题-打开另外一个界面,点击之后才会显示别人选中的节点 HOT 1
- 节点中的图标添加鼠标移入和移出事件 HOT 1
- 咱这app有对应的iOS发行版么? HOT 1
- 关联线未激活时箭头是黑色 HOT 1
- 实例化时支持传入空的data,画布空白显示 HOT 2
- 第一次创建关联线时,箭头颜色不正确 HOT 1
- 怎么能只改根节点的paddingY,不影响其余子节点的。现在只能改全部的 HOT 1
- 客户端能否参考typora方式,切换源码json HOT 1
- 请问下,目前导出png时,是否支持增加自定义的内容 HOT 1
- 图标丢了 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mind-map.