List Type Toggle

Hi,

First I’d like to thank you for making PM available, the APIs look really impressive and powerful!.

Please allow me to ask a noob question cause I just started learning how to build an usable rich text editor and I quickly got stuck by this issue.

I did spend quiet some on searching for the right answer and it appears that people at Atlassian did come up a working solution:

To my surprise, the amount of codes written by Atlassian to make list toggling work is quite big, and I haven’t be able to re-implement it with a much simpler solution and my knowledge with PM is still very limited.

I was hoping I could use the codes from Atlassian but unfortunately it’s written in Typescript and it still used the old version of PM.

Anyway, any lead of the potential solution will be highly appreciated, I can see that it will be super valuable to deliver the same kind of user experience for list editing like Google Doc does, which does feel more nature and easier to use.

Thanks.