Note: this is a port of prosemirror-utils to typescript and updating dependencies and build.
Install prosemirror-utils1
package from npm:
npm install prosemirror-utils1
@findParentNode
@findParentNodeClosestToPos
@findParentDomRef
@hasParentNode
@findParentNodeOfType
@findParentNodeOfTypeClosestToPos
@hasParentNodeOfType
@findParentDomRefOfType
@findSelectedNodeOfType
@isNodeSelection
@findPositionOfNodeBefore
@findDomRefAtPos
@flatten
@findChildren
@findTextNodes
@findInlineNodes
@findBlockNodes
@findChildrenByAttr
@findChildrenByType
@findChildrenByMark
@contains
@removeParentNodeOfType
@replaceParentNodeOfType
@removeSelectedNode
@replaceSelectedNode
@canInsert
@safeInsert
@setParentNodeMarkup
@selectParentNodeOfType
@removeNodeBefore
@setTextSelection
- Apache 2.0 : http://www.apache.org/licenses/LICENSE-2.0