Page MenuHomePhabricator

Editing site JS results in unexpected behaviour
Closed, DuplicatePublic

Description

Put the cursor in place, press delete.. Characters not at the cursor are being deleted....

See attached video

Chrome Version 68.0.3440.75 (Official Build) (64-bit) and FF 61.0.1 (64-bit)

Event Timeline

Reedy created this task.Jul 31 2018, 12:18 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJul 31 2018, 12:18 AM
Reedy triaged this task as High priority.Jul 31 2018, 12:20 AM
Reedy updated the task description. (Show Details)
Reedy edited projects, added CodeEditor; removed MediaWiki-General.
Reedy updated the task description. (Show Details)Jul 31 2018, 12:24 AM

Does this also happen with other browsers?

See also T71440: CodeEditor deletes the wrong character when the user presses backspace (slightly related)

TheDJ added a subscriber: TheDJ.Jul 31 2018, 9:36 AM

This is probably T56136

In Firefox and Safari everything is ok, problem happens only in Chrome

And this occurs with all Unicode text consisting of more then 1 byte per character