Opened 15 years ago
Closed 11 years ago
#3786 closed Bug (fixed)
Copying / pasting in IE creates font tags
Reported by: | Wiktor Walc | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.0 |
Keywords: | IE | Cc: | pomu@… |
Description (last modified by )
Steps to reproduce:
- Create two paragraphs
This is some sample text. This is some sample text.
- If you make the first line green, select some text and paste it in the second line, you'll get:
<p> This is <font color="#008000">some </font>some sample text.</p>
Change History (9)
comment:1 Changed 15 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 15 years ago by
Milestone: | CKEditor 3.0 → CKEditor 3.x |
---|
comment:3 Changed 15 years ago by
Cc: | pomu@… added |
---|
comment:4 Changed 14 years ago by
Milestone: | CKEditor 3.x |
---|
comment:5 Changed 13 years ago by
Keywords: | IE added |
---|---|
Status: | new → confirmed |
Version: | SVN (CKEditor) - OLD → 3.0 |
This issue has been reproducible in all versions of IE from CKE 3.0
comment:6 Changed 12 years ago by
This problem can be reproduced in all browsers in CKE 3.x and 4.x (v4)
comment:7 Changed 12 years ago by
#6372 was marked as duplicate.
The same thing is happening with every span style (like font -size or font name or font colour) you use e.g.
- Click on new Page button
- Press Enter 4 times
- Type "ABCD", select it and apply: Font-style Comic-Sans, Font-size 26px.
- Select "BC", press CRTL+C
- Paste it in one of lines above with CRTL+V or paste button.
comment:8 Changed 12 years ago by
Worst part is that if you do that in plain contenteditable div i.e.
<div style="border:1px solid blue; margin-top:10px" contenteditable="true"> <p>IE font issue bug - copy part of last line to one of empty lines above</p> <p> </p> <p> </p> <p><span style="font-family: tahoma,geneva,sans-serif;"><span style="font-size: 24px;">ABCD</span></span></p> </div>
you get the same result thus this looks like IE internal bug
comment:9 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
It looks like CKEditor 4.1 has fixed this issue. When you copy text styled in spans it gets pasted wrapped in spans (not in font).
Milestone CKEditor 3.x deleted