Hey , Is there any function to do the opposite of prosemirror-schema-list’s wrapInList for a list that has more than a list item ? Cheers
In general, lift is the opposite of wrapping transformations. Is that not working for you?
lift only works on individual list items and not for the whole list.
I’m trying to figure out by just replacing the whole list with a fragment built based on paragraphs wrapping each of the list item text node
You can’t generally lift all items in one step, but issuing multiple
lift calls in a row until the entire list is gone should work.