NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #2590 most downloaded on npm
ProseMirror's view component
Latest stable
1.42.9
Last release 12 days ago
09 Nov 2026
Release timing varies
gaps range from 8 days to 2 months
Nearly every release is documented
notes for 59 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
315 releases · first in 2016
Drag across the ruler to compare, or tap a release to open it.
Fix DOM parsing for decorated text nodes.
Fix DOM parsing for decorated text nodes.
The editor view no longer wraps its editable DOM element in a wrapper element. The ProseMirror CSS class now applies directly to the editable element.
The editor view no longer wraps its editable DOM element in a wrapper element. The ProseMirror CSS class now applies directly to the editable element. The ProseMirror-content CSS class is still present for ease of upgrading but will be dropped in the next release.
The editor view no longer draws a drop cursor when dragging content over the editor. The new prosemirror-dropcursor module implements this as a plugin.
Simple typing and backspacing now gets handled by the browser without ProseMirror redrawing the touched nodes, making spell-checking and various platform-specific input tricks (long-press on OS X, double space on iOS) work in the editor.
Improve tracking of DOM nodes that have been touched by user changes, so that updateState can reliably fix them.
Changes to the document that happen while dragging editor content no longer break moving of the content.
Adding or removing a mark directly in the DOM (for example with the bold/italic buttons in iOS' context menu) now produces mark steps, rather than replace steps.
Pressing backspace at the start of a paragraph on Android now allows key handlers for backspace to fire.
Toggling a mark when there is no selection now works better on mobile platforms.
Introduces an endOfTextblock method on views, which can be used to find out in a bidi- and layout-aware way whether the selection is on the edge of a textblock.
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix issue where node decorations would stick around in the DOM after the decoration was removed.
Fix issue where node decorations would stick around in the DOM after the decoration was removed.
Setting or removing a node selection in an unfocused editor now properly updates the DOM to show that selection.
Nothing published for this version
FIX: Avoid unneeded selection resets which sometimes confused browsers.
FIX: Avoid unneeded selection resets which sometimes confused browsers.
Restores previously broken kludge that allows the cursor to appear after non-text content at the end of a line.
Restores previously broken kludge that allows the cursor to appear after non-text content at the end of a line.
Wrapping decorations are now created using the `nodeName` property. The wrapper property is no longer supported.
Wrapping decorations are now created using the nodeName property. The wrapper property is no longer supported.
The onUnmountDOM prop is no longer supported (use a node view with a destroy method instead).
The domSerializer prop is no longer supported. Use node views to configure editor-specific node representations.
Widget decorations can now be given a key property to prevent unneccesary redraws.
The EditorView class now has a destroy method for cleaning up.
The handleClickOn prop and friends now receive a direct boolean argument that indicates whether the node was clicked directly.
Widget decorations now support a stopEvent option that can be used to control which DOM events that pass through them should be ignored by the editor view.
You can now specify custom node views for an editor view, which give you control over the way node of a given type are represented in the DOM. See the related RFC.
Fixes an issue where widget decorations in the middle of text nodes would sometimes disappear.
Fixes an issue where widget decorations in the middle of text nodes would sometimes disappear.
Fixes event handler crash (and subsequent bad default behavior) when pasting some types of external HTML into an editor.
Fixes event handler crash (and subsequent bad default behavior) when pasting some types of external HTML into an editor.
Selecting nodes on OS X is now done with cmd-leftclick rather than ctrl-leftclick.
Selecting nodes on OS X is now done with cmd-leftclick rather than ctrl-leftclick.
Pasting text into a code block will now insert the raw text.
Widget decorations at the start or end of a textblock no longer block horizontal cursor motion through them.
Widget nodes at the end of textblocks are now reliably drawn during display updates.
DecorationSet.map now takes an options object which allows you to specify an onRemove callback to be notified when remapping drops decorations.
The transformPastedHTML and transformPastedText props were (re-)added, and can be used to clean up pasted content.
Inline decorations that span across an empty textblock no longer crash the display drawing code.
Inline decorations that span across an empty textblock no longer crash the display drawing code.
Use a separate document to parse pasted HTML to better protect against cross-site scripting attacks.
Use a separate document to parse pasted HTML to better protect against cross-site scripting attacks.
Specifying multiple classes in a decoration now actually works.
Ignore empty inline decorations when building a decoration set.
The return value of `EditorView.posAtCoords` changed to contain an inside property pointing at the innermost node that the coordinates are inside of.
The return value of
EditorView.posAtCoords changed to
contain an inside property pointing at the innermost node that the
coordinates are inside of. (Note that the docs for this method were
wrong in the previous release.)
Reduce reliance on shift-state tracking to minimize damage when it gets out of sync.
Fix bug that'd produce bogus document positions for DOM positions inside non-document nodes.
Don't treat fast ctrl-clicks as double or triple clicks.
Implement decorations, a way to
influence the way the document is drawn. Add the decorations
prop to specify them.
Pass actual event object to `handleDOMEvent`, rather than just its name.
Pass actual event object to handleDOMEvent, rather than just its name.
Fix display corruption caused by using the wrong state as previous version during IME.
Nothing published for this version
One column per quarter.