Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to check CK editor version

Tags:

ckeditor

There is an existing CK editor folder in my project. How can I find out it's version? Is it documented?

like image 283
user1408470 Avatar asked Apr 08 '13 06:04

user1408470


People also ask

How do I get CK editor value?

try: var bodyAdd = CKEDITOR. instances['editor1']. getData();

What is the use of CK editor?

CKEditor (formerly known as FCKeditor) is a WYSIWYG rich text editor which enables writing content directly inside of web pages or online applications. Its core code is written in JavaScript and it is developed by CKSource. CKEditor is available under open source and commercial licenses.


2 Answers

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>
like image 62
kumar Avatar answered Sep 22 '22 23:09

kumar


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 
like image 33
A.D. Avatar answered Sep 21 '22 23:09

A.D.