mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #5017] [Issue]: Expanded editors move the caret to the end after typing quotes #2772
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#2772
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @SpicyMarinara on GitHub (Aug 14, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/5017
Originally assigned to: @SpicyMarinara on GitHub.
Summary
Typing an ASCII double quote (
") or apostrophe (') in an expanded text editor moves the caret from the chosen insertion point to the end of the text. This is a regression of the caret-preservation fixes in #3934 and #4656.Expected behavior
Quotes and apostrophes should be inserted or typographically formatted at the active caret position, and the caret should remain directly after the inserted character.
Actual behavior
After typing
"or'in the middle of existing text, the caret jumps to the end, so subsequent typing is appended in the wrong place.Steps to reproduce
"or'.Environment
main/stagingLogs, screenshots, or video
No logs or recording provided. The regression is input/selection behavior and should be covered with a deterministic browser test.
Additional context
Keep the fix narrowly scoped to selection preservation in the shared expanded-editor path. No editor redesign, dependency change, or version bump.
Related: #3934, #4656.
Template check
@SpicyMarinara commented on GitHub (Aug 14, 2026):
Owned by @SpicyMarinara. I am reproducing this on exact
stagingand will keep the fix to the shared expanded-editor selection path plus a focused browser regression.@SpicyMarinara commented on GitHub (Aug 14, 2026):
Closing as a duplicate of #4656, which has been reopened because the quote-specific caret regression returned.