This question is similar to others:
- How can I disable the option to delete a custom node from prosesmirror?
- How to prevent node deletion?
- The content of non-editable node is still editable
- ProseMirror and Uneditable content in the document
- Whats an example of the minimal code required to undo a transformation?
This would be a quite handy feature to take control over transactions and to be able to allow/disallow action for each part (Node, TextNode, Mark, etc.) inside filterTransaction.