Issue metadata
Sign in to add a comment
|
Styled link in contenteditable loose style when new text is append at the end of link.
Reported by
m.sam...@cksource.com,
Aug 29 2017
|
||||||||||||||||||||||||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.101 Safari/537.36 Steps to reproduce the problem: 1. Open test page: https://github.com/ckeditor/ckeditor-dev/issues/531 2. Put caret after red link. 3. Start to type text. What is the expected behavior? Text will append as a link and preserve its style. What went wrong? Typed text is not a link, but it get red style. Unfortunately reddish style is removed from link. Did this work before? N/A Does this work in other browsers? No Safari: https://bugs.webkit.org/show_bug.cgi?id=176049 Chrome version: 60.0.3112.101 Channel: n/a OS Version: OS X 10.12.6 Flash Version: I found similar issue already reported. Reason which cause this behaviour seems to be the same here and there: https://bugs.chromium.org/p/chromium/issues/detail?id=505683
,
Aug 30 2017
Duplicate to 505683. Here is demonstration of this in assert_selection.js[1] assert_selection( '<div contenteditable><a href="..."><b>foo|</b></a></div>', 'insertText x', '<div contenteditable><b><a href="...">foo</a></b>x|</div>', 'Type "x" at end of anchor text); [1] https://cs.chromium.org/chromium/src/third_party/WebKit/LayoutTests/editing/assert_selection.js |
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by m.sam...@cksource.com
, Aug 29 2017