Opened 15 years ago
Closed 11 years ago
#5388 closed Bug (fixed)
[IE][Chrome] Strange behavior on copy & paste <span>
Reported by: | pomu0325 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Pasting | Version: | 3.0 |
Keywords: | Cc: | pomu@… |
Description
To Reproduce
- open http://ckeditor.com/demo with IE8 or Chrome
- switch to source mode
- erase all text, and type
<span>foo</span>
- switch to WYSIWYG
- select "foo" and Ctrl+C to copy
- press "Enter" to break line
- Ctrl+P to paste
- switch to source mode
- [IE] <span> is generated twice
<p> <span>foo</span></p> <p> <span><span>foo</span></span></p>
- [Chrome] additional surrounding <div> is created
<p> <span>foo</span></p> <p> </p> <div style="font-family: Arial, Verdana, sans-serif; font-size: 12px; color: rgb(34, 34, 34); background-color: rgb(255, 255, 255); "> <p> <span>foo</span></p> </div>
- [FF] works fine!
<p> <span>foo</span></p> <p> <span>foo</span></p>
- [IE] <span> is generated twice
Change History (3)
comment:1 Changed 15 years ago by
Cc: | pomu@… added |
---|
comment:2 Changed 13 years ago by
Status: | new → confirmed |
---|---|
Version: | SVN (CKEditor) - OLD → 3.0 |
Firefox and Opera work as expected.
In all IE's starting from CKEditor 3.2.1 span has got doubled.
In Webkit till CKEditor 3.5.2 span was pasted with an extra div. From CKEditor 3.5.3 only paragraph has been pasted.
<p> <span>foo</span></p> <p> foo</p>
comment:3 Changed 11 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
This issue was fixed in Webkit long time ago. On IE spans are not doubled too.
Replying to pomu0325:
typo Ctrl+P -> Ctrl+V