how to check ckeditor version

how to check ckeditor version

In order to check your CKeditor version, you need to first access the CKeditor program. Once you have done so, you should see a list of options on the left-hand side of the screen. In the list of options, select "About CKeditor" and this will reveal the current version of CKeditor.


// Get the version number.
var version = CKEDITOR.version;

// Log the CKEDITOR version
console.log(version);

If you are using the CKeditor in a website, you can alternatively use the following code in order to check the CKeditor version:


// Get the version number.
var version = CKEDITOR.version;

// Log the CKEDITOR version
$('#version').html('CKEditor Version: ' + version);

The above code will display the CKeditor version in a HTML element with the ID of version. This is a convenient way to check the version number when integrating CKeditor into a website.

Subscribe to The Poor Coder | Algorithm Solutions

Don’t miss out on the latest issues. Sign up now to get access to the library of members-only issues.
[email protected]
Subscribe