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

Block 可以支持拖动排序么? #356

Closed
takashiki opened this issue May 3, 2020 · 4 comments
Closed

Block 可以支持拖动排序么? #356

takashiki opened this issue May 3, 2020 · 4 comments

Comments

@takashiki
Copy link

你在什么场景下需要该功能?

现在 vidtor 里的 block 在 active 态可以通过悬浮的 上下箭头 完成排序,但这并不如拖动排序来得方便。

描述可能的解决方案

如果 block 能支持类似 notion 的拖动排序的话使用会便捷一些。
另外目前列表的单个子元素不能单独排序,动的时候是整个列表一起动,如果能像幕布一样拖动单个子元素进行排序的话,整理大纲类知识点会很方便。

描述你认为的候选方案

其他信息

@Vanessa219
Copy link
Owner

子列表拖动可以支持
至于拖拽,我个人用了下 wordpress 的 gutenberg,如果拖拽距离过远或块元素过长的的话体验不太好。

@Vanessa219
Copy link
Owner

我先关闭了,如果有更好的交互方式再打开

@takashiki
Copy link
Author

好的,希望考虑先支持子列表的排序

@Vanessa219
Copy link
Owner

好的,#371

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

2 participants