Pergunta

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

Foi útil?

Solução

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);

Outras dicas

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top