If I add list nodes with
addListNodes(nodes, "paragraph (ordered_list | bullet_list)*", "block"),
wrapInList does not work when I select two or more paragraphs to wrap them into a list (with two or more resulting items) - it returns false from
However, if I use a content spec of
wrapInList seems to work flawlessly with multiple paragraphs.
Is this expected? Am I doing something silly?