Closed
Bug 496393
Opened 15 years ago
Closed 14 years ago
Delete and backspace stop working after hitting delete in empty document
Categories
(Core :: DOM: Editor, defect)
Core
DOM: Editor
Tracking
()
RESOLVED
DUPLICATE
of bug 462188
People
(Reporter: mail, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 Build Identifier: When an editable document is empty, or has only a single <br>, hitting the Delete key puts the editor into a state where subsequent content inserted programmatically cannot be removed with Delete or Backspace, until the user types some text first. Reproducible: Always Steps to Reproduce: 1. Open Midas demo (http://www.mozilla.org/editor/midasdemo/). 2. With the cursor inside the (blank) editor, press Delete. 3. Do something, other than typing, that causes content to be inserted. For example, click the Insert Table button in the toolbar and insert a 2x2 table. (The issue is not related to tables specifically - products that embed the editor may have many features that add or replace document content.) 4. Press Ctrl+A to select all. 5. Press Delete or Backspace. Actual Results: In step 5, Delete and Backspace have no effect. Delete and Backspace remain broken until the user types some text. Expected Results: Delete and Backspace should delete the selected content.
Comment 1•15 years ago
|
||
Good: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090128 Shiretoko/3.1b3pre Bad: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1b3pre) Gecko/20090127 Shiretoko/3.1b3pre This is probably a dupe of bug 462188.
Comment 2•14 years ago
|
||
trusting Michael's suggestion. please comment if y ou disagree
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•