質問

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

役に立ちましたか?

解決

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

他のヒント

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

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top