Answer the question
In order to leave comments, you need to log in
ckeditor. Uploading images to the server. How?
ckeditor editor. I want to set up uploading images to the server through a dialog box. There is such an error. What can be done? Tried different methods. For example this https://php-js-css.ru/ckeditor-and-images/ Is there a working example? nothing new was found.
Answer the question
In order to leave comments, you need to log in
I don’t know if it’s outdated or not, but I’ll answer) the server needs to return json
$array = array('uploaded'=>1, 'fileName'=>$cid.'.'.$ext, 'url'=>'/mail_images/'.$cid.'.'.$ext);
return json_encode($array);
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question