Virtual Happy Hour this month, Jun 28, we'll be getting a sneak preview at our soon to launch SaaS CMS!

Try our conversational search powered by Generative AI!

How to check for TinyMCE version

Vote:
 

Hi.

How can I find what version of TinyMCE EPiServer 7.5 CMS is using?

// Anders

#80101
Jan 15, 2014 8:32
Vote:
 

So easy! If you in Edit view, please try this:

require(["tinymce/tiny_mce_src"], lang.hitch(this, function () {
    console.log("EPiServer's TinyMCE version: ", tinymce.majorVersion + '.' + tinymce.minorVersion);
}));

    

Hope that help!

// Ha Bui

#80103
Jan 15, 2014 8:44
Vote:
 

Thanks for your fast reply, Ha Bui.

I tried to run this script in the console, but no luck. I received the following error message:

ReferenceError: lang is not defined

Do you know what I need to do here? Am I trying to run the script at the wrong spot?

I tried to run this script in the Alloy Site by creating a new page, then opening my console and then run the script. No luck so far.

I would post a image if I could, but I can't really see an option for that.

// Anders

#80116
Edited, Jan 15, 2014 10:49
Vote:
 

Hello again.

I tried to only run this part of the script:

console.log(tinyMCE.majorVersion + '.' + tinyMCE.minorVersion);

This worked like a charm. It look like it's running version 3.5.8.

Thanks for the help!

// Anders

#80119
Edited, Jan 15, 2014 11:02
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.