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
Hello, I would like to pass on some considerations to @Hufe921 when implementing this feat. I once tried to implement this improvement and I didn't finish the work (I still have the changes). However, one thing I noticed is that before implementing nested lists with different types, it is necessary to make a change in how the editor positions the cursor at the beginning of the line when it has one or more tabs.
In other editors, such as Goolge docs, when you have a list regardless of whether it is normal or nested, the initial position of the cursor always respects the tabs added at the beginning of the line.
google.doc.mp4
In the case of canvas editor, the cursor will always go to the first position of the line, regardless of whether it has tabs or not.
canvas.editor.mp4
I didn't have more time to work on this, I had some problems when making the first change, the cursor position according to the key pressed (up, down, right, left, Enter...). If there is some time left, I will work again to send a PR, or I can also send the style as it is for someone else to work on.
version
1.0v(demo界面测试复现)
Link to minimal reproduction
No response
Steps to reproduce
步骤:
1、编写一段文字选中列表,回车自动增加序号
2、回车增加子列表时,列表序号/标识无法取消
What is expected?
预期效果:
1、换行列表内容内可以增加子列表(不同子类型图标)
2、换行列表内容换行或者断句,段落内可以取消列表
What is actually happening?
1、编写一段文字选中列表,回车自动增加序号
2、回车增加子列表时,列表序号/标识无法取消
3、列表序号重新排序,无法沿用之前序号
4、自列表也无法使用带有需要的列表,否则自动排序(无子父层级划分)
System Info
No response
Any additional comments?
No response
The text was updated successfully, but these errors were encountered: