Update replace.ts (replaceRange) to use already defined $to #29

Merged
Urchmaney merged 1 commit from master into master 2025-08-06 13:35:56 +02:00
Urchmaney commented 2025-08-06 13:31:27 +02:00 (Migrated from github.com)

A simple change to use the already defined $to = tr.doc.resolve(to) variable instead of recreating the ResolvePos

A simple change to use the already defined `$to = tr.doc.resolve(to)` variable instead of recreating the ResolvePos
marijnh commented 2025-08-06 13:36:03 +02:00 (Migrated from github.com)

Thank you!

Thank you!
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
prosemirror/prosemirror-transform!29
No description provided.