This package has been deprecated

Author message:

Please use @curvenote/prosemirror-utils, which has taken over this functionality.

prosemirror-utils1
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Utils library for ProseMirror

prosemirror-utils1 on npm License CI

Note: this is a port of prosemirror-utils to typescript and updating dependencies and build.

Quick Start

Install prosemirror-utils1 package from npm:

npm install prosemirror-utils1

Public API documentation

Utils for working with selection

@findParentNode

@findParentNodeClosestToPos

@findParentDomRef

@hasParentNode

@findParentNodeOfType

@findParentNodeOfTypeClosestToPos

@hasParentNodeOfType

@findParentDomRefOfType

@findSelectedNodeOfType

@isNodeSelection

@findPositionOfNodeBefore

@findDomRefAtPos

Utils for working with ProseMirror node

@flatten

@findChildren

@findTextNodes

@findInlineNodes

@findBlockNodes

@findChildrenByAttr

@findChildrenByType

@findChildrenByMark

@contains

Utils for document transformation

@removeParentNodeOfType

@replaceParentNodeOfType

@removeSelectedNode

@replaceSelectedNode

@canInsert

@safeInsert

@setParentNodeMarkup

@selectParentNodeOfType

@removeNodeBefore

@setTextSelection

License

Package Sidebar

Install

npm i prosemirror-utils1

Weekly Downloads

0

Version

1.0.3

License

Apache-2.0

Unpacked Size

103 kB

Total Files

33

Last publish

Collaborators

  • rowanc1