Pregunta

i want to disable resizing ckeditor in php and its default language to english change .

i've loaded the ckeditor in php below :

<?php
     $CKeditor = new CKeditor();
     $CKeditor->BasePath = 'ckeditor/';
     $CKeditor->editor('editor1');
?>

enter image description here

¿Fue útil?

Solución

Try this:

$config['language']='en';
$config['removePlugins']='resize';   //Remove resize image
$config['resize_enabled ']=false;   //Disallow resizing

And initialize CKeditor like:

$CKeditor->editor("editor1",'',$config);

Otros consejos

There's dedicated configuration option config.resize_enabled to control the resizer. As for the language, you can set it with config.language.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top