How to check for TinyMCE version



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

// Anders

Jan 15, 2014 8:32

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

Jan 15, 2014 8:44

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

Edited, Jan 15, 2014 10:49

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

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.