WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
129573
is inserted before and after anchors in contentEditable mode when you use space.
https://bugs.webkit.org/show_bug.cgi?id=129573
Summary
is inserted before and after anchors in contentEditable mode when you ...
richard.raanaas
Reported
2014-03-02 07:05:36 PST
As a consequence, you get premature line breaks that makes the text look bad. See attachment. I don't see the need for having non-breaking space before and after anchors. Is there a reason for this behavior?
Attachments
screenshot showing premature line break.
(15.41 KB, image/png)
2014-03-02 07:17 PST
,
richard.raanaas
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
richard.raanaas
Comment 1
2014-03-02 07:17:31 PST
Created
attachment 225594
[details]
screenshot showing premature line break.
richard.raanaas
Comment 2
2014-03-19 03:40:57 PDT
I've noticed that this is the case with other inline elements such as bold and italics too.
cyndi
Comment 3
2014-06-04 07:52:26 PDT
could you share the source code of test case?
richard.raanaas
Comment 4
2014-06-05 00:07:34 PDT
You can see the problem if you for example try this editor:
http://ckeditor.com/demo
Place the curser behind the last letter in the first link (with the text "Neil Amstrong"). Press space and write "test". Click the "Source" button in the upper right corner. You will see that the source code is now: <a href="
http://en.wikipedia.org/wiki/Neil_Armstrong
">Neil Armstrong</a> test
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