﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10537	shiftEnterMode set to CKEDITOR.ENTER_P doesn't report P tag to ACF	dilip	Piotrek Koszuliński	"**EDITED**[[BR]]

1. Configure editor in the following way:
{{{
var editor = CKEDITOR.replace( 'editor1', {	
				    toolbar:[
						{ name: 'document', items : [ 'Source' ] }, { name: 'basicstyles', items: [ 'Bold', 'Italic' ] }, { name: 'styles', items: [ 'Format' ] }

					],
					enterMode : CKEDITOR.ENTER_BR,
					shiftEnterMode : CKEDITOR.ENTER_P
}}}

2. Go to page with editor, switch to Source and **PASTE** {{{this<p>issue</p>}}}
3. Switch to WYSIWYG and to Source one more time
4. Result is {{{this<br />issue}}}. The same thing happens for this code: 
{{{
<p>issue</p>
this
<p>issue</p>
<p>issue</p>
}}} 

It seems to me that ShiftEnterMode doesn't report P tag to ACF. To confirm this I have added {{{ { name: 'styles', items: [ 'Format' ] } }}} to toolbar and this time it has worked without problems.

**NOTES:** [[BR]]
1. Problem can be reproduced from CKEditor 4.1
2. It doesn't occur if you turn off ACF - {{{allowedContent : true}}} or add plugin which reports P tag to ACF
3. There is different issue (I'm not 100% sure if this is a bug) when you write in editor. Please see #10543.
"	Bug	closed	Normal	CKEditor 4.1.3	General	4.1	fixed		
