WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 23892
20828
The HTML editor replaces tags with its own spans selecting the entire element and typing.
https://bugs.webkit.org/show_bug.cgi?id=20828
Summary
The HTML editor replaces tags with its own spans selecting the entire element...
Johan Bergström
Reported
2008-09-13 06:25:50 PDT
When selecting the whole contents of an element that has an execCommand that creates the same style (e.g. <i> or <em> for the 'italic' execCommand) and typing, the editor replaces that element with a span with the style equivalent for the element. For example <i> or <em> becomes 'font-style: italic'.
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2008-09-13 07:13:43 PDT
I believe that this is currently by design, see
bug 13490
.
Johan Bergström
Comment 2
2008-09-13 07:29:10 PDT
(In reply to
comment #1
)
> I believe that this is currently by design, see
bug 13490
. >
The problem isn't so much that it inserts spans on the 'italic' execCommand but more that it replaces any italicized (em, i) tag with spans. It shouldn't meddle with stuff it didn't put there.
Ryosuke Niwa
Comment 3
2009-07-27 10:54:14 PDT
*** This bug has been marked as a duplicate of
bug 23892
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug