﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5536	Problems with pasting (executing insertHtml) and formatted text	Wiktor Walc	Tobiasz Cudnik	"This is actually a duplicate of #5170, but since that ticket was already reviewed and committed, here's another one (I guess [5273] should be reverted as the issue was misunderstood).

Note that this bug occurs when pasting '''any''' content, this is not an issue that exists only when pasting special character.

Updated description below:

When inserting content with insertHtml() inside of formatted text, editor breaks formatting and inserts content without formatting. Confirmed in FF 3.5. Works fine in IE8 and Safari 4.

=== Steps to reproduce ===

 * open _samples/api.html example
 * start with 
{{{
<p>
	<span style=""color: rgb(255, 0, 0);"">Sample ^text</span></p>
}}}
 * clear the textarea below CKEditor and type there ""foo""
 * press ""Insert HTML""
 * Result:
 {{{
<p>
	<span style=""color: rgb(255, 0, 0);"">Sample </span>foo<span style=""color: rgb(255, 0, 0);"">text</span></p>
 }}}

This can be reproduced in many different ways in CKEditor, everywhere where insertHtml() is used.

Targetting to 3.3 as it might be a bit irritating.


"	Bug	closed	Normal	CKEditor 3.5	General	3.2.1	fixed	Firefox	
