﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
7580	div contenteditable + removeFormatCmd + insertHtml	pgteam		"i tried to use removeFormat command followed by insertHtml for ensuring inserted html will not be formated by previous styling. . . .

so i tried this case. .
<div contenteditable=""false""> some dummy text</div>
<p>this statement <b>will</b> be removed</p>


after i selected whole sentence(included the front most space if any) right below the <div> tag
and then i call myFunction from some button which look like

{{{
function myFunction (){
//instance already created with the name 'editor1'
        CKEDITOR.instances.editor1.execCommand( 'removeFormat' ); 
        insertHtml(""<p>text to be inserted</p>"");
}
}}}

Obviously, myFunction can be called, 
format of selected text can be removed, 
at last, insertHtml can't perform. . . 

I discovered that it occurs, only when contenteditable is defined with the combination of removeFormatCmd + InsertHtml with the situation i described above...

It wouldn't happen if contenteditable is defined and then just InsertHtml...

Is there any contradiction among contenteditable attribute, removeFormat Command and insertHtml???"	Bug	closed	Normal		General	3.5.2	expired		
