﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6215	copied bold content not editable	yiminghe	Sa'ar Zac Elias	"if user copy content from web somewhere to ckeditor ,the html code is
{{{ 
<span style=""font-weight: bold;"">bold</span>
}}}
the editor's bold button (alway off state) is unusable for copied content.

and if i change coreStyles_bold in ''_source\plugins\basicstyles\plugin.js line 54'' 
to 
{{{
{ element        : 'span',
                styles        : { 'font-weight' : 'bold' },
                overrides    : [
                    { element : 'b' },
                    { strong : 'strong' },
                ] };
}}}

when user copy 
{{{
<b>bold</b>
}}}
to sourcearea ,and place cursor in the middle of bold (do not select a character) at wysiwyg mode ,the bold button's state is on,but if clicked ,nothing happened

i modified code file (ckeditor 3.4) : _source/plugins/styles/plugin.js line 603 

from

removeFromElement( this, element );

to

{{{
if ( element.getName() == this.element )
						removeFromElement( this, element );
					else
						removeOverrides( element, getOverrides( this )[ element.getName() ] );
}}}

problem solved ,hope helpful
 "	Bug	closed	Normal	CKEditor 3.5.3	Core : Styles	3.4	fixed		
