ckeditor - Cannot Select image file from external file browser with ckeditor4 but it works perfectly in ckeditor3 -


hello may able this.

i had been using ckeditor3 , had created simple custom image browser. worked perfectly. click image button , dialog box pop , click browse server button. searched images , when found 1 wanted use clicked image browser automatically close , image show in image preview box in image plugin dialog box.

unfortunately image plugin ckeditor 3 has become incompatible internet explorer 11. upgraded latest ckeditor 4.

so in ckeditor 4 can still open image dialog , click image browser , browse images when select image, although image browser closes should image not being passed plugins preview box or url field within dialog box. remains blank. if manually paste in image url image show in preview box no longer image browser anymore.

i have spent hours looking solution on google , coming empty, have ideas?

problem solved

to fix problem had change code in file browser follows. not know why first snipped works in ckeditor 3 not 4.

function selectfile(fileurl){ window.opener.ckeditor.tools.callfunction(2, fileurl); }  change to:  function selectfile(fileurl){ window.opener.ckeditor.tools.callfunction(1, fileurl); } 

but forking fine in ck editor 4.


Comments

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - .htaccess mod_rewrite for dynamic url which has domain names -

Website Login Issue developed in magento -