Answer the question
In order to leave comments, you need to log in
How to set up multiple image uploads for users in ckeditor?
Hello! For the third day I have not configured the loading of images in ck-editor. Loaded extension
MihailDev/yii2-ckeditor , standard widget. It remains to configure it for loading images. I display _form.php
echo $form->field($model, 'body')->widget(CKEditor::className(), [
'editorOptions' => [
'filebrowserImageUploadUrl'=> Yii::$app->urlManager->createUrl(['/file-storage/ck-upload']),
'preset'=>'basic',
],
]);
<script type='text/javascript'>window.parent.CKEDITOR.tools.callFunction('$funcNum', '{$output['fileName']}', '$message');</script>"
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question