﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
8722	[FF, Webkit]:  ForeAsPlainText splits span tags	Jakub Ś		"To reproduce:[[BR]]

1. Paste the below code in CKEditor
{{{
<span style=""font-size: 12px;""><span style=""font-family: arial,helvetica,sans-serif;"">This is </span></span>
}}}
2. Paste the below code into console or use PasteAsPlainText plugin
{{{
CKEDITOR.instances.editor1.insertText(""Hello, world"");
}}}
3. Put cursor here: {{{Th^is is}}}
4. Execute console command or use PasteAsPlainText plugin.

**Results**:[[BR]]
Firefox and Chrome split each section in separate spans whereas IE and Opera do the expected and join all together. Safari drops formatting.

IE and Opera **OK**- 
{{{
<p>
	<span style=""font-size: 12px;""><span style=""font-family: arial,helvetica,sans-serif;"">ThHellois is </span></span></p>
}}}

Firefox - 
{{{
<p>
	<span style=""font-size: 12px;""><span style=""font-family: arial,helvetica,sans-serif;"">Th</span></span><span style=""font-size: 12px;""><span style=""font-family: arial,helvetica,sans-serif;"">Hello, world</span></span><span style=""font-size: 12px;""><span style=""font-family: arial,helvetica,sans-serif;"">is is </span></span></p>

}}}
Chrome - 
{{{
<p>
	<span style=""font-size: 12px;""><span style=""font-family: arial,helvetica,sans-serif;"">Th</span></span><span style=""font-family: arial, helvetica, sans-serif; "">Hello, world</span><span style=""font-family: arial, helvetica, sans-serif; "">is is</span></p>
}}}
**Note also that Chrome drops font-size if it is default 12px. If you use font-size E.g 13 you will get spans like:** {{{<span style=""font-family: arial, helvetica, sans-serif; font-size: 13px;"">}}}

Safari - 
{{{
<p>
	<span style=""font-size: 12px;""><span style=""font-family: arial,helvetica,sans-serif;"">Th</span></span>Hello, worldis is</p>
}}}


All issues have been reproducible from CKEditor 3.5. Before this version text was pasted without any formatting. From 3.5 there is an improvement but there is still something missing.

Exception is the Safari where it seems that this particular part was working till CKE 3.4.3 and was broken in CKE 3.5.
"	Bug	closed	Normal		General	3.5	fixed	Firefox, Webkit	
