Opened 12 years ago
Last modified 8 years ago
#11110 closed Bug
Image2: iframes/flashes are converted into image2 widgets when pasted — at Initial Version
Reported by: | Marek Lewandowski | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.3 |
Component: | General | Version: | 4.3 |
Keywords: | Cc: |
Description
Image2: iframes/flashes are converted into image2 widgets when pasted
since: 4.3 until major
It seems that currently enabling image2 plugin will convert iframes/flashes into its widget.
- open image2 sample (/samples/plugins/image2/image2.html)
- switch to source mode
- input following code
<p>n t<iframe frameborder="0" scrolling="no" src="www.wikipedia.org"></iframe>e d</p>
- switch back to wysiwyg mode
- ctrl+a (select all)
- ctrl+c (copy)
- move cursor at the end of content
- ctrl+p (paste)
Expected result:
Pasted content should contain iframe.
Produced source code: {{{
<p>n t<iframe frameborder="0" scrolling="no" src="www.wikipedia.org"></iframe>e dn t<iframe frameborder="0" scrolling="no" src="www.wikipedia.org"></iframe>e d</p>
}}}
Current result:
Pasted content contain image2 instad iframe.
Code with image: {{{
<p>n t<iframe frameborder="0" scrolling="no" src="www.wikipedia.org"></iframe>e dn t<img alt="IFrame" src="http://presets.ckeditor.dev/4.3/full-all/ckeditor/plugins/fakeobjects/images/spacer.gif?t=DA89" title="IFrame" />e d</p>
}}}
additional info:
- issue does not occur for other widget-based plugins like mathjax, placeholder
- issue seems to be cross browser