Make setNodeType work on content-less nodes
Make setNodeType work on content-less nodes

See https://discuss.prosemirror.net/t/updating-the-attributes-of-an-inline-leaf-node/263

ProseMirror/prosemirror-transform