Presumably misdetected tinymce version Solved

User's avatar
Bartosz F.
12:54 Feb 18, 2015
Hi,

I've just tried to install this plugin over tinymce 4 and it got me a bit confused when i found coloured icon (file: doksoft_image_3.png) in my tinymce 4 instance (see attached screenshot)

I know, that this plugin should be compatible with both tinymce versions 3 and 4, yet i presume that in our case it is a bug in detection of which tinymce version is running the plugin.

I've tried to run this plugin with and without jquery and on few versions of tinymce 4, but problem persist in every case. Let me know if there's any additional info you need to know.

Hope to hear from you anytime soon,
Bartosz F
 tinymce-doksoft.jpg   30.5 KB
Support team avatar
JS+
10:35 Feb 20, 2015
Hello,

Your screenshot does not has some widgets of the plugin and it seems that some CSS/JS files were not loaded by your browser. Please check "Networking" tab of your browser's debug console to figure out this problem.

The version of TinyMCE is testing with standard TinyMCE's API calling:
tinymce.majorVersion == '4'

So you can try to paste to your browser's debug console:
tinymce.majorVersion
and see is it really 4 or 3.

Looks like you have very special configuration of loading TinyMCE. I can help you more if you send me URL of your TinyMCE installation.
User's avatar
Bartosz F.
12:01 Feb 20, 2015
Hi,

Firstly, thank you for your response,

Console said:
tinymce.majorVersion
"4"

You can check it out on our test environment:
http://wolften.testymobime.com/admin/
user: admin
password: admin
After you login click on any pencil icon on the right of table row and you should see my tinymce. It's pure tinymce 4.1.7 installed few days back.

Hints:
see my tinymce initializatoin script:
http://wolften.testymobime.com/admin/js/custom.tinymce.js

Looking forward to your response,
Bartosz F.
User's avatar
Bartosz F.
13:20 Feb 23, 2015
Hi,

Did you have a chance to check this issue on our server?
We have our client stepping on our backs here so please check it out .

User's avatar
Bartosz F.
10:16 Feb 25, 2015
Hi,

Unfortunately we can't wait that much for you to respond. Since it is an issue that we cannot discuss, thus fix, we would like to use our right to refund. Please contact us in order to exchange refund details.
Support team avatar
JS+
12:02 Feb 25, 2015
Hello,
Sorry for long response, we had a weekend & holiday in Russia.
I have checked your server.

At first I see these errors in browser's console:
Uncaught SyntaxError: Unexpected token < /admin/js/tinymce/plugins/doksoft_image/langs/pl.js:1
Uncaught TypeError: Cannot read property 'doksoft_image_title' of undefined plugin.min.js:1

The first line arrears because TinyMCE can not read language file from your server. Your CMS routings lead the browser to some other HTML file, not language file.

That is why you get the second error and can not load TinyMCE.

Please try to change URL routing settings in your CMS or webserver and try again.
User's avatar
Bartosz F.
13:53 Feb 26, 2015
So, i just need to translate uploader to polish. Thank's for your response. Problem solved