X-Git-Url: https://jasonwoof.com/gitweb/?p=ckeditor.git;a=blobdiff_plain;f=_source%2Fplugins%2Fflash%2Fplugin.js;h=873fc562ac801b2c76efc0cae4ebe631542158e7;hp=21772f3fa6e86a1abf33841d49319d96e2b7a4fe;hb=9afde8772159bd3436f1f5b7862960307710ae5a;hpb=614511639979907ceb0da3614122a4d8eb963ad4 diff --git a/_source/plugins/flash/plugin.js b/_source/plugins/flash/plugin.js index 21772f3..873fc56 100644 --- a/_source/plugins/flash/plugin.js +++ b/_source/plugins/flash/plugin.js @@ -75,7 +75,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license { var element = evt.data.element; - if ( element.is( 'img' ) && element.getAttribute( '_cke_real_element_type' ) == 'flash' ) + if ( element.is( 'img' ) && element.data( 'cke-real-element-type' ) == 'flash' ) evt.data.dialog = 'flash'; }); @@ -85,7 +85,7 @@ For licensing, see LICENSE.html or http://ckeditor.com/license editor.contextMenu.addListener( function( element, selection ) { if ( element && element.is( 'img' ) && !element.isReadOnly() - && element.getAttribute( '_cke_real_element_type' ) == 'flash' ) + && element.data( 'cke-real-element-type' ) == 'flash' ) return { flash : CKEDITOR.TRISTATE_OFF }; }); }