How to check CK editor version

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>

How to remove buttons from CKeditor 4

Based on reinmar answer and tested here is the better answer. Add this in your ckeditor config.js : config.removeButtons=”Underline,JustifyCenter”; For reference you can find the complete list of CKeditor 4 buttons there : http://ckeditor.com/comment/123266#comment-123266

Getting the textarea value of a ckeditor textarea with javascript

I’m still having problems figuring out exactly how I find out what a user is typing into a ckeditor textarea. Ok, this is fairly easy. Assuming your editor is named “editor1”, this will give you an alert with your its contents: alert(CKEDITOR.instances.editor1.getData()); The harder part is detecting when the user types. From what I can … Read more

CKEditor unwanted   characters

After some research I might shed some light on this issue – unfortunately there is no out-of-the-box solution. In the CKEditor there are four ways a no-break space can occur (anybody know more?): Automatic filling of empty blocks. This can be disabled in the config: config.fillEmptyBlocks = false; Automatic insertion when pressing TAB-key. This can … Read more

CKEditor strips Tag

When the protectedSource solution is used, i tags are no longer stripped, but img tags stop showing up in the WYSIWIG mode of CKEditor (I’m using 4.3.1). The solution that worked better for me is to disable removing empty i tags using CKEDITOR.dtd.$removeEmpty For example, I added the following to the config.js // allow i … Read more

How to ajax-submit a form textarea input from CKEditor?

you need to first call the following, to make the CKEDITORs update their related fields.. for ( instance in CKEDITOR.instances ) CKEDITOR.instances[instance].updateElement(); so HTML <a onClick=”CKupdate();$(‘#article-form’).ajaxSubmit();”>Submit</a> and javascript function CKupdate(){ for ( instance in CKEDITOR.instances ) CKEDITOR.instances[instance].updateElement(); }

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)