Go to any page with a block slug at the end (e.g. aliens.html). Press CTRL+A. The view selection range end is too early in the document.
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Fix getNodeAndOffset for block slugs | VisualEditor/VisualEditor | master | +11 -3 |
Related Objects
Related Objects
Event Timeline
Comment Actions
This appears to be caused by block slugs - if you remove all block aliens from the document the bug goes away.
Comment Actions
Change 205580 had a related patch set uploaded (by Divec):
Fix getNodeAndOffset for block slugs
Comment Actions
Change 205580 fixes the view selection. But there's a separate issue that the model selection is not in fact correct: a CTRL+A selection should start at DM position 1, not position 0.