Ck Editor is already pre-configured in KAS with the necessary features and compatible options with KAS. In order to use it the option type K needs to be added to the section, or enable the CKE optiontype variable. But be careful when using it as CK Editor generates HTML that can break your site.
Also copy/pasting from word or other sources is tricky and not recommended.
$options['CKE'] =true;
It is very simple to use with the following minimum requirements:
addField([ 'type'=>'CKeditor', 'label'=>'Article Content', 'id'=>'flightCK', //optional, if not provided the name is given as ID 'name'=>'flight_itinerary', //optional 'value'=>'' //optional ]);
The full configuration option is as follows
addField([ 'type'=>'CKeditor', 'label'=>'Article Content', 'style'=>'height:700px', //optional, usefull for giving more height 'name'=>'content_en', //optional 'id'=>'ck_content_en', //optional, if not provided the name is given as ID 'value'=>$db_items->result(0,"content_".$mainLang), 'attributes' => '', //optional 'class' => '', //optional ]);