Skip to content

[6.x] Bump prosemirror-view to 1.42.8 - #15752

Merged
duncanmcclean merged 1 commit into
6.xfrom
bump-prosemirror-view
Oct 29, 2026
Merged

duncanmcclean merged 1 commit into
6.xfrom
bump-prosemirror-view

Conversation

@duncanmcclean

Copy link
Copy Markdown
Member

This pull request bumps prosemirror-view from 1.42.3 to 1.42.8, which makes Bard-heavy entries load much faster.

Large Bard entries were slow to load because, every time Vue rendered something inside a Bard field (like the fields in a set), ProseMirror would read the browser's selection. Reading the selection forces Chrome to recalculate styles and layout for the whole page. On an entry with 40 Bard sets, that happened ~940 times while the page loaded.

ProseMirror fixed this upstream in 1.42.7 (aa383830b) by only reading the selection when the editor has focus. 1.42.8 also fixes a widget rendering regression from 1.42.6. prosemirror-model is bumped to 1.25.12, as required by 1.42.8.

In my testing (40-set Bard entry, production build), the page went from ~11.4s to ~2.5s to load, with style recalculation going from ~10s to ~1.1s.

The only change is package-lock.json. Tiptap already allows ^1.42.3.

Related: #13385
Related: #15158

@duncanmcclean
duncanmcclean merged commit 0beed61 into 6.x Oct 29, 2026
65 checks passed
@duncanmcclean
duncanmcclean deleted the bump-prosemirror-view branch October 29, 2026 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant