Opened 13 years ago
Last modified 8 years ago
#8231 closed Bug
Paste with CKEditor Full Page mode in Chrome on Mac generates bad HTML — at Initial Version
Reported by: | spgard | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | CKEditor 4.6.0 |
Component: | Plugin : Paste from Word | Version: | 3.0 |
Keywords: | Cc: |
Description
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.
- Open Chrome (12.0.742.122) on a Mac (OS X version 10.6.3).
- Go to http://ckeditor.com/demo and Select All. Copy to the clipboard.
- Go to http://nightly.ckeditor.com/ and click on the demos and then click on the full page Basic sample.
- Select All, then delete so you've got a blank document.
- Use Command-V to paste the Little Red Riding Hood text into the document.
- Switch to Source view. 1st paragraph holds empty HTML document. Pasted copy follows that paragraph.
- Switching between code and WYSIWYG view keeps adding empty paragraphs above the pasted copy.
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.
No problems occur if you use the Paste From Word tool.
No problems occur on Mac Firefox.
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.)