Reputation: 1515
There is an existing CK editor folder in my project. How can I find out it's version? Is it documented?
Upvotes: 43
Views: 44624
Reputation: 501
For ckeditor 5, you can get the version number by using this in a js file
console.log(CKEDITOR_VERSION);
Upvotes: 1
Reputation: 1826
just make an alert as below in the config.js file, it gives the value
alert(CKEDITOR.version);
or you can see it directly in the file ckeditor_php4.php, for eg:
var $version = '3.6.3';
working demo :
alert(CKEDITOR.version);
console.log("CKEDITOR.version ==",CKEDITOR.version);
<head>
<meta charset="utf-8">
<title>CKEditor</title>
<script src="https://cdn.ckeditor.com/4.11.4/standard/ckeditor.js"></script>
</head>
<body>
<textarea id="editor1"></textarea>
<script>
CKEDITOR.replace( 'editor1' );
</script>
</body>
Upvotes: 72
Reputation: 13679
CKEDITOR.version will give current version of CKEDITOR
alert(CKEDITOR.version);
console.log("CKEDITOR.version ==",CKEDITOR.version);
<head>
<meta charset="utf-8">
<title>CKEditor</title>
<script src="https://cdn.ckeditor.com/4.11.4/standard/ckeditor.js"></script>
</head>
<body>
<textarea id="editor1"></textarea>
<script>
CKEDITOR.replace( 'editor1' );
</script>
</body>
Upvotes: 3
Reputation: 5256
CKEDITOR.version
running this in the console should tell you the version.
And as for the documentation, you can find it in this URL:
https://docs.ckeditor.com/ckeditor4/latest/api/CKEDITOR.html#property-version
Upvotes: 9
Reputation: 31
Look inside the ckeditor/ckeditor.js
file. At the top of the file, you can find the version.
Upvotes: 1
Reputation: 4614
I checked version 3.6 and version info is located f.e. in:
/ckeditor/CHANGES.html
CKEditor Changelog
CKEditor 3.6.6.1
4.X uses mark down file:
/ckeditor/CHANGES.md
CKEditor 4 Changelog
====================
## CKEditor 4.4.1
Upvotes: 16
Reputation: 3154
In latest CKEditors there is a button in default panel "?". Click it and you'll see version number. Otherwise if button not exist you need to check source files. At the beginning they definitely should contain author data & version number.
Upvotes: 5