Skip to content

fix: pre-bundle every prosemirror package so TextEditor and frappe-ui/editor share one copy - #292

Merged
ruchamahabal merged 1 commit into
frappe:developfrom
ruchamahabal:fix-vue-build
Oct 6, 2026
Merged

ruchamahabal merged 1 commit into
frappe:developfrom
ruchamahabal:fix-vue-build

Conversation

@ruchamahabal

Copy link
Copy Markdown
Member

ActivityTimeline failed to load in dev mode with an error Duplicate use of selection JSON
ID gapcursor

…/editor share one copy

frappe-ui's editor .vue files load unbundled in dev and import prosemirror from
node_modules, while frappe-ui/editor's pre-bundle inlines its own. Once both load on
one page (the global TextEditor plus an @framework/ui ActivityTimeline), the second
copy re-registers its IDs and rendering fails with "Duplicate use of selection JSON
ID gapcursor". Pinning only the four core packages left gapcursor, tables and the
rest duplicated.
@greptile-apps

greptile-apps Bot commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[High risk] Changes build bundling configuration for editor dependencies.

The PR appears safe to merge.

Reviews (1) · Last reviewed commit: "fix: pre-bundle every prosemirror packag..."

@ruchamahabal
ruchamahabal merged commit be7be5b into frappe:develop Oct 6, 2026
3 checks passed
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