Opened 15 years ago
Closed 15 years ago
#5132 closed Bug (fixed)
Formatting automatically applied to all characters/words when only single character/word is highlighted
Reported by: | Pranav Prakash | Owned by: | Garry Yao |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 3.3 |
Component: | Core : Styles | Version: | 3.1 |
Keywords: | Oracle Review+ | Cc: | Senthil, Pranav |
Description
Write some text e.g. A B C in editor area. Select "A" and click on underline button. It underlines the text. Now select "B" and click on underline button. It underlines "B" correctly. Now select "C" and click on italic button. You will observe that entire text including "A" and "B" is changed to italic. Same is the case with words.
This issue was reproducible in nightly build with Internet Explorer 8 and Firefox 3.6.
Attachments (1)
Change History (8)
comment:1 Changed 15 years ago by
Keywords: | Confirmed added |
---|---|
Milestone: | → CKEditor 3.3 |
comment:2 follow-up: 3 Changed 15 years ago by
Keywords: | Pending added; Confirmed removed |
---|
comment:3 Changed 15 years ago by
Replying to garry.yao:
Works for me with the following source on both IE and Firefox:
<p>A B C</p>Any other clue?
I was able to reproduce the issue in nightly build with IE8. Can you please varify it once again?
comment:4 Changed 15 years ago by
Please refer to this video demonstrating the issue.
http://www.youtube.com/watch?v=S3pqXM8atAc
I was using latest nightly build with IE8.
Changed 15 years ago by
Attachment: | 5132.patch added |
---|
comment:5 Changed 15 years ago by
Keywords: | Review? added |
---|---|
Owner: | set to Garry Yao |
Status: | new → assigned |
Confirmed, have to be very care to select only the character (without including space) to reproduce the bug.
The patch is trying to cover a logic whole in 'range::enlarge' method.
Ticket Test added:
run OR view source.
comment:6 Changed 15 years ago by
Keywords: | Review+ added; Pending Review? removed |
---|
Works for me with the following source on both IE and Firefox:
Any other clue?