public/ckeditor/_source/plugins/docprops/dialogs/docprops.js
function resetStyle( element, prop, resetVal )
	{
		element.removeStyle( prop );
		if ( element.getComputedStyle( prop ) != resetVal )
			element.setStyle( prop, resetVal );
	}
function resetStyle( element, prop, resetVal )
	{
		element.removeStyle( prop );
		if ( element.getComputedStyle( prop ) != resetVal )
			element.setStyle( prop, resetVal );
	}
function resetStyle ( element , prop , resetVal ) { element . removeStyle ( prop ) ; if ( element . getComputedStyle ( prop ) != resetVal ) element . setStyle ( prop , resetVal ) ; }
We cannot just remove the style from the element, as it might be affected from non-inline stylesheets. To get the proper result, we should manually set the inline style to its default value.
We cannot just remove the style from the element as it might be affected from non - inline stylesheets . To get the proper result we should manually set the inline style to its default value .