1<script src="<?= e($ckeditor_path) ?>ckeditor.js"></script> 2<script src="<?= e($ckeditor_path) ?>adapters/jquery.js"></script> 3 4<script> 5 var CKEDITOR_BASEPATH = <?= json_encode($ckeditor_path) ?>; 6 7 // Enable for all browsers 8 CKEDITOR.env.isCompatible = true; 9 10 // Disable toolbars 11 CKEDITOR.config.language = "<?= strtolower($language) ?>"; 12 CKEDITOR.config.removePlugins = "forms,newpage,preview,print,save,templates,flash,iframe"; 13 CKEDITOR.config.extraAllowedContent = "area[shape,coords,href,target,alt,title];map[name];img[usemap];*[class,style]"; 14 15 // Activate the editor 16 $("textarea.html-edit").ckeditor(); 17</script> 18