﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10328	Inconsistency in paste as plain text	Perttu Myry		"Pasting seems to work bit differently when using ctrl + v and forcePasteAsPlainText option in comparison to using paste as plain text plugin when enter mode is set to div. Via paste as plain text plugin I got correct looking HTML with divs and br elements, but when pasting via ctrl + v I got just br elements as line breaks.

Here is the plain text content that I copy-pasted.

{{{
#1 first

#2 second
#3 third
}}}

And here's how the source looked after pasting using ctrl + v.

{{{
<div>
<br />
#1 first<br />
#2 second<br />
#3 third<br />
</div>
}}}

I also checked out the event in editor.on('paste') handler and event.data.dataValue looked like this when pasting using ctrl + v.

{{{
<br>#1 first<br>#2 second<br>#3 third<br>
}}}

Whereas the event.data.dataValue looked like this when using paste as plain text plugin.

{{{
<div>#1 first</div><div>#2 second<br>#3 third</div>
}}}

Is this a bug or do these two different ""paste as plain text"" methods work differently by definition?

-----
**Edit:**[[BR]]
Problem can be reproduced in divarea sample in Webkit browsers from CKEditor 4.0 beta. Editor must have following settings:
{{{
CKEDITOR.replace( 'editor1', {
	extraPlugins: 'divarea',
	enterMode : CKEDITOR.ENTER_DIV,
	forcePasteAsPlainText : true				
});
}}}
**Pasting with Ctrl+V and with dialog produces different results.**"	Bug	closed	Normal		Core : Pasting	4.0 Beta	fixed	Webkit	
