Ticket #5448 (closed Bug: duplicate)

Opened 4 years ago

Last modified 4 years ago

forcePasteAsPlainText doesn't work in specific situation

Reported by: pwilk Owned by:
Priority: Normal Milestone:
Component: Core : Pasting Version: 3.2
Keywords: Cc:

Description

To reproduce this bug, we should have enabled option forcePasteAsPlainText in ckeditor configuration. Next step will be get a few text with paragraphs, sample text attached. The last thing will be paste it into editor, but without using Ctrl+V, paste Contextual Menu or button, it must be option from browser main menu Edit -> Paste. After we should get this in source:

<p>
	Lorem ipsum dolor sit amet, consectetur adipiscing elit.</p>
<p>
	Nullam suscipit auctor nisi sed vulputate.</p>
<p>
	Cras in odio sit amet metus rhoncus scelerisque id at nunc. Praesent a faucibus eros.</p>

but choosing paste option from browser menu produce something like that:

<p>
	Lorem ipsum dolor sit amet, consectetur adipiscing elit.<br />
	<br />
	Nullam suscipit auctor nisi sed vulputate.<br />
	<br />
	Cras in odio sit amet metus rhoncus scelerisque id at nunc. Praesent a faucibus eros.</p>

Completely ignoring the forcePasteAsPlainText setting. Bug appear in IE7, Opera 9.64 and FF 3.5.9. I haven't tested other browsers yet, but i think it also doesn't work in them. First report of this bug was on http://drupal.org/node/745020

Attachments

sample_text.txt (191 bytes) - added by pwilk 4 years ago.
Sample content

Change History

Changed 4 years ago by pwilk

Sample content

comment:1 Changed 4 years ago by pwilk

  • Status changed from new to closed
  • Resolution set to duplicate

mark as duplicate, bacuse there is one older ticket related to this http://dev.fckeditor.net/ticket/756

Note: See TracTickets for help on using tickets.
© 2003 – 2012 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy