Changes between Initial Version and Version 4 of Ticket #8231


Ignore:
Timestamp:
Feb 12, 2012, 6:11:50 PM (12 years ago)
Author:
Jakub Ś
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8231

    • Property Version changed from 3.5.3 to 3.0
    • Property Summary changed from Paste with CKEditor Full Page mode in Chrome on Mac generates bad HTML to Paste or PaasteFromWord with CKEditor in Webkit and Opera inserts empty paragraphs.
  • Ticket #8231 – Description

    initial v4  
    1 We are experiencing this bug on 3.5.3, in full page mode.  Verified on the full page nightly build.  Didn't check the demo because it's not in full page mode.
     1Steps to reproduce:
     21. Copy the below code taken from http://ckeditor.com/demo
     3{{{
     4<h1>
     5        <img alt="" src="http://a.cksource.com/c/1/inc/img/demo-little-red.jpg" style="margin-left: 10px; margin-right: 10px; float: left; width: 120px; height: 168px;" />Little Red Riding Hood</h1>
     6}}}
     72. Go to CKEditor sample (any sample)
     83. Clear editor contents using Command+A and Backspace
     94. Paste the demo contents using Command+V
     105. Switch to source
    211
    3 - Open Chrome (12.0.742.122) on a Mac (OS X version 10.6.3).
    4 - Go to http://ckeditor.com/demo and Select All.  Copy to the clipboard.
    5 - Go to http://nightly.ckeditor.com/ and click on the demos and then click on the full page Basic sample.
    6 - Select All, then delete so you've got a blank document.
    7 - Use Command-V to paste the Little Red Riding Hood text into the document.
    8 - Switch to Source view.  1st paragraph holds empty HTML document.  Pasted copy follows that paragraph.
    9 - Switching between code and WYSIWYG view keeps adding empty paragraphs above the pasted copy.
     12**Result:**In full page mode there will be extra empty paragraph right after body tag and from CKEditor 3.5.4 rev [6698] there will also be extra empty paragraph right before closing body tag.
     13In any non full page sample you will see empty paragraph at the top and form CKE 3.5.4 also at the bottom
    1014
    11 On Mac Safari (4.0.4) these steps add an extra paragraph with a charset meta tag. Switching between code view and WYSIWYG view moves the meta tag into the <head> section and creates 2 empty paragraphs above the pasted content, but thereafter does not continue adding paragraphs.  However, if you Undo all changes and view the Source, you'll have 2 <head> sections, each with the added meta tag that wasn't part of the original document.
     15-----
    1216
    13 No problems occur if you use the Paste From Word tool.
     171. Copy sample list from the attached listTest.doc
     182. Go to CKEditor sample (any sample)
     193. Clear editor contents using Command+A and Backspace
     204. Paste the demo contents using Command+V
     215. Switch to source
    1422
    15 No problems occur on Mac Firefox.
     23**Result:**You will see empty paragraph at the top and form CKE 3.5.4 also at the bottom
     24----
    1625
    17 No problems occur in Windows. (Chrome, Safari, and Opera add an empty paragraph at the top of the pasted copy but it's easily removed.)
     26**Paragraph at the top has been reproducible in Opera and Webkit from CKEditor 3.0**
     27
     28**Paragraph at the bottom has been reproducible in Opera and Safari from  CKE 3.5.4 rev [6698]**
     29
     30This issue is reproducible in all Operating Systems.
     31
     32**NOTE:** From CKEditor 3.5.3 if you press backspace two or more times (Look step 3) it is possible to delete the default paragraph. If you do that and then paste the text from demo the paragraph at the top will not be present.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy