{\r
editor.contextMenu.addListener( function( element, selection )\r
{\r
- if ( element && element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'flash' )\r
+ if ( element && element.is( 'img' ) && !element.isReadOnly()\r
+ && element.getAttribute( '_cke_real_element_type' ) == 'flash' )\r
return { flash : CKEDITOR.TRISTATE_OFF };\r
});\r
}\r