Open
Bug 1438358
Opened 6 years ago
Updated 2 years ago
Cannot use the backspace key to delete text on the text editors
Categories
(Core :: DOM: Editor, defect, P5)
Tracking
()
UNCONFIRMED
People
(Reporter: vijay.kadri, Unassigned)
Details
Attachments
(1 file)
2.35 MB,
video/mp4
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.167 Safari/537.36 Steps to reproduce: Bring up the following test page - https://jsfiddle.net/1jxqmx1a/2/ 1. Click Set Content button. 2. Click Alert Content button and note that content is a space followed by a BR tag. 3. Click Alert Length button and note that content length is 5. 4. Click inside editor and try to backspace/delete to delete content. You cannot. 5. Click Alert Content button and note that content is a space followed by a BR tag. 6. Click Alert Length button and note that content length is 5. 7. Click inside editor then press ctrl+a to select all content. 8. Press delete key to delete content (note: you cannot tell that any content is selected.) 9. Click Alert Content button and note that content is empty. 10. Click Alert Length button and note that content length is 4. Actual results: The content length still shows as 4 Expected results: The content length should have been 0
Comment 1•6 years ago
|
||
Although you test this on ESR52, could you reproduce this on the latest Nightly (from https://www.mozilla.org/en-US/firefox/channel/desktop/#nightly)?
Flags: needinfo?(vijay.kadri)
Hello, Yes, I can reproduce this on the nightly as well.
Flags: needinfo?(vijay.kadri)
Comment 3•6 years ago
|
||
editor keeps <br> element when using contenteditable. It is like design issue.
Priority: -- → P5
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•