﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5751	Paste As Plain Text does not behave consistently	Gaurang		"config.forcePasteAsPlainText is set to true and
enterMode is CKEDITOR.ENTER_P

Following are 2 cases considered to generate this problem.

Case 1:
{{{
hello world
<p>some paragraph</p>
}}}

When i copy it from browser and paste it into the CKEditor area it correctly convert that to 

{{{
<p>
	hello world</p>
<p>
	some paragraph</p>
}}}


Case 2:
{{{
<p>some paragraph</p>
hello world
}}}

When i copy it from browser and paste it into the CKEditor area it will get converted to 


{{{
<p>
	some paragraph<br />
	hello world</p>
}}}

it add line break instead of adding paragraph. which is not as expected.

in both of the cases it should generate paragraphs for linebreaks.

Steps to Regenerate:

1. Copy case 1 text from testData.html file attached and paste as plain text to CKEditor content area. It will generate out put as expected.

2. Copy case 2 text from testData.html file and paste as plain text to CKEditor content area. It will generate a line break (br) instead of paragraph.

"	Bug	closed	Normal		Core : Pasting	3.2.1	invalid		gaurang.d.patel@…
