Closed Bug 107899 Opened 24 years ago Closed 24 years ago

delete can reorder content

Categories

(Core :: DOM: Editor, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED
mozilla0.9.7

People

(Reporter: mozeditor, Assigned: mozeditor)

Details

(Whiteboard: EDITORBASE; fixinhand; patch in 99523)

Editor deletion code detects when htmlblock boundaries are being crossed, and in some cases attempts to join blocks if appropriate. As an example, if you have two adjacent paragraphs, and you backspace from the front of the latter, it will join it to the first para. This code does the wrong thing when you have two blocks of the same type where one is *inside* the other. Example: <div>line 1 <din>line 2 </div> line 3</div> If you put the caret at the start of line 2 and backspace, it will put line 2 *after* line 3. I am working on a fix for this.
Status: NEW → ASSIGNED
Whiteboard: EDITORBASE; 1 day
Target Milestone: --- → mozilla0.9.6
097
Target Milestone: mozilla0.9.6 → mozilla0.9.7
fixed by patch to bug 99523
Whiteboard: EDITORBASE; 1 day → EDITORBASE; fixinhand; patch in 99523
fixed by 99523 checkin
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
v=jfrancis
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.