Opened 14 years ago

Closed 14 years ago

#5448 closed Bug (duplicate)

forcePasteAsPlainText doesn't work in specific situation

Reported by: Paweł Wilk 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 (1)

sample_text.txt (191 bytes) - added by Paweł Wilk 14 years ago.
Sample content

Download all attachments as: .zip

Change History (2)

Changed 14 years ago by Paweł Wilk

Attachment: sample_text.txt added

Sample content

comment:1 Changed 14 years ago by Paweł Wilk

Resolution: duplicate
Status: newclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy