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

如何实现列表之间的拖拽功能 #13

Open
condorheroblog opened this issue Jan 11, 2025 · 1 comment
Open

如何实现列表之间的拖拽功能 #13

condorheroblog opened this issue Jan 11, 2025 · 1 comment

Comments

@condorheroblog
Copy link

Hello,

项目很棒,现在我遇到一个问题,需要请教你。

当前项目的拖拽的逻辑,无序列表和有序列表是一个整体,无法实现序列表和序列表之间的拖拽。

我注意到 tiptap-extension-global-drag-handle 可以结合 https://github.com/NiclasDev63/tiptap-extension-auto-joiner 实现这个功能。

这个项目的拖拽用的 echo-drag-handle-plugin 插件有开源地址吗,它可以结合 https://github.com/NiclasDev63/tiptap-extension-auto-joiner 实现这个功能吗,我安装试了下,但没有实现。

@condorheroblog
Copy link
Author

添加一个动图效果可能比较直观,如下图演示,li 之间可以自动拖拽,而不是现在的 ul 作为一个整体进行拖拽;

Kapture 2025-01-13 at 10 26 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant