Feature #541 - Adaptation with image fallbacks for the online editor's customizations plugin.

skala
Ivan Tcholakov 15 years ago
parent 41c4605d9b
commit bf2a163144
  1. 10
      main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin.js
  2. 2
      main/inc/lib/fckeditor/editor/plugins/customizations/fckplugin_compressed.js

@ -1487,8 +1487,14 @@ FCK.IsRealImage = function ( tag )
&& !tag.getAttribute( '_fckmp3' )
&& !tag.getAttribute( '_fckvideo' )
&& !tag.getAttribute( 'MapNumber' )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( '/cgi-bin/mimetex' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( '/cgi-bin/mathtex' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( 'mimetex?' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( 'mimetex.cgi?' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( 'mimetex.exe?' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( 'mathtex?' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( 'mathtex.cgi?' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( 'mathtex.exe?' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( 'mathtran?' ) >= 0 )
&& !( tag.getAttribute( 'src' ) && tag.getAttribute( 'src' ).toString().indexOf( 'google.com/chart?' ) >= 0 )
) ? true : false ;
} ;

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save