Classes
Members
-
static, constant absolutePositionToRelativePosition
-
Transforms a Prosemirror based absolute position to a Yjs based relative position.
-
static, constant createNodeIfNotExists
-
-
static, constant cursorPlugin
-
A prosemirror plugin that listens to awareness information on Yjs. This requires that a
prosemirrorPluginis also bound to the prosemirror. -
static, constant cursorPluginKey
-
The unique prosemirror plugin key for cursorPlugin.type
-
static, constant prosemirrorPlugin
-
This plugin listens to changes in prosemirror view and keeps yXmlState and view in sync.
This plugin also keeps references to the type and the shared document so other plugins can access it.
-
static, constant prosemirrorPluginKey
-
The unique prosemirror plugin key for prosemirrorPlugin.
-
static, constant relativePositionToAbsolutePosition
-
Methods
-
inner matchNodeName(yElement, pNode)
-
Parameters:
Name Type Description yElementYXmlElement pNodeany Prosemirror Node
Type Definitions
-
ProsemirrorMapping
-