How do I find out what version of TinyMCE I am running?
            Asked
            
        
        
            Active
            
        
            Viewed 2.3k times
        
    4 Answers
72
            Having a look at the source of tinymce (file tiny_mce_src.js, which is easier to read than, tiny_mce.js which is minified) :
var tinymce = {
    majorVersion : '3',
    minorVersion : '2.5',
    releaseDate : '2009-06-29',
    // lots of code ^^
})();
So, I'd say that, in Javascript, something like this :
tinymce.majorVersion + '.' + tinymce.minorVersion
would do.
I tried it on the demo page, using firebug, and I get :
>>> tinymce.majorVersion + '.' + tinymce.minorVersion
"3.2.5"
So, seems to be working ;-)
        Pascal MARTIN
        
- 395,085
 - 80
 - 655
 - 663
 
- 
                    2Neat that they include it for the client to check. Although, this results in ```"@@tinymce_major_version@@.@@tinymce_minor_version@@"``` if they're building from the source, in which cases, checking dates in companion files or their timestamps are your best option, unfortunately. – Alastair Feb 14 '13 at 02:09
 
10
            
            
        Open the page, on which you integrate the tinyMCE and press Control+Shift+J
and type following command.
tinyMCE
and the output of the above the command, will show both major version, minor version and release date as shown in figure.
        Hamza Zafeer
        
- 2,360
 - 13
 - 30
 - 42
 
2
            
            
        If you have included tinymce in your page, then you can view it in your browser dev-tool
tinymce
or
tinyMCE
and there will be visible majorVersion and minorVersion at first glance
        Tigran Babajanyan
        
- 1,967
 - 1
 - 22
 - 41
 
1
            
            
        go to Chrome Console type tinyMCE.majorVersion and tinyMCE.minorVersion take a look
        Wajdi512
        
- 11
 - 1
 - 4
 
