Select all in h1 or span with contenteditable selects the element itself.

UNCONFIRMED
Unassigned

Status

()

Core
Editor
UNCONFIRMED
5 years ago
4 years ago

People

(Reporter: antoinebrisseau, Unassigned)

Tracking

23 Branch
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

5 years ago
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:23.0) Gecko/20100101 Firefox/23.0 (Beta/Release)
Build ID: 20130814063812

Steps to reproduce:

Steps to reproduce :
1. Go to http://jsfiddle.net/gtSa3/10/
2. In each contenteditable
3. Select all
4. Copy-Paste

Tested and reproduced in 23.0.1, 24.0b4 and 26.0a1


Actual results:

For h1 and span, the element is selected entirely and duplicating itself. For others like divs, it is working maybe because of this being fixed : https://bugzilla.mozilla.org/show_bug.cgi?id=562905


Expected results:

Only the text should be duplicated in the element.

Updated

5 years ago
Component: Untriaged → Editor
Product: Firefox → Core

Comment 1

4 years ago
See also bug 562905 and 583980. This a dupe?
You need to log in before you can comment on or make changes to this bug.