Apps script to removelist items in a doc turn them into regular paragaphs
This script iterates through the child elements of the document’s body. If it encounters a list item, it converts it into a regular paragraph by extracting its text and inserting a new paragraph with the same text and formatting attributes. It then removes the original list item.