You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
changed the title [-]The edutir supports using the scroll wheel to scroll the position when dragging[/-][+]The editor supports using the scroll wheel to scroll the position when dragging[/+]on Jan 26, 2024
Activity
[-]The edutir supports using the scroll wheel to scroll the position when dragging[/-][+]The editor supports using the scroll wheel to scroll the position when dragging[/+]TCOTC commentedon Mar 20, 2024
电脑屏幕没那么大的情况下分屏显示会很不友好,所以当文档长了,还是要有这个功能才方便。
TCOTC commentedon May 28, 2024
相关:#10095
TCOTC commentedon May 28, 2024
我刚刚发现在大纲拖动的时候是能用滚轮滚动的,只有编辑器和文档树不行。
@88250 要不看一下大纲是怎么能滚动的?
88250 commentedon May 28, 2024
@Vanessa219
TCOTC commentedon Dec 22, 2024
研究了一下有如下发现:
大纲拖拽用的是
addEventListener("mousedown"
documentSelf.onmousemove
documentSelf.onmouseup
,行为有点不同:#13583编辑器和文档树拖拽用的是
addEventListener("drag...
,能实现跨窗口拖拽块Myeongho8888 commentedon Dec 25, 2024
是的,我也发现了同样的问题:
期待作者大大的更新,感谢!!
TCOTC commentedon Feb 4, 2025
我查了一阵子资料,没查到有什么方法实现拖拽的时候通过滚轮滚动。
VSCode 可以在拖拽代码时滚动,但没法跨窗口拖拽。
IDEA 可以跨窗口拖拽(不能跨窗口撤销),但拖拽时滚动不太灵。
Windows 资源管理器也不能在拖拽的时候通过滚轮滚动。
TCOTC commentedon Jun 19, 2025
问了 AI,感觉或许有办法
文档树、编辑器、块标:
mousedown 拖拽
mousedown
+documentSelf.onmousemove
+documentSelf.onmouseup
处理文档树内部拖拽排序HTML5 drag API 外部拖拽
drop 接收外部拖拽