﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
10722	Loading an editor with colors and ENTER_BR turned on fails parsing due to page break command	Thomas Jones		"Consider the following HTML
{{{
<em><u><strong>something ineteresting</strong></u></em><br><br>BUT WAIT, there's more!<br><br><span style=""color:#0000CD"">AND more</span>
}}}
This was generated using CKEditor with default (full) configuration and enterMode = ENTER_BR.

Creating an editor that contains this HTML using the jQuery adapter will fail on the parsing phase of ONLY the span with the color applied inside the PageBreakCommand's match method, specifically on this line:
{{{
return parent && parent.name == 'div' && parent.styles[ 'page-break-after' ];
}}}

In this case, parent.styles is undefined, presumably due to the fact that the parent is the editor itself.

Loading with any other enter mode or using config.removePlugins=""pagebreak"" is a workarodun."	Bug	closed	Normal		General	4.2	expired		
