FlusherDock1 / EditorJS

Formwidget plugin for October CMS
https://octobercms.com/plugin/reazzon-editor
MIT License
25 stars 14 forks source link

Can not upload an image, try another #17

Closed HitArrowLegend closed 3 years ago

HitArrowLegend commented 3 years ago

Describe the bug Pretty sure there is an easy fix but I'm lost in all those files. When I try to upload an image, it says "Can not upload an image, try another". At this point, I've tried all the images on my desktop but none worked.

To Reproduce Steps to reproduce the behavior:

  1. Upload an image using the image tool
  2. See error

Screenshots https://puu.sh/HbHWH/69d7b1bb93.png

Conobi commented 3 years ago

Same issue there!

LeMaX10 commented 3 years ago

Hello! This bug fixed in https://github.com/FlusherDock1/EditorJS/pull/15.

Awaiting the merger.

FlusherDock1 commented 3 years ago

Fixed

HitArrowLegend commented 3 years ago

Still having the same issues after the update : Can not upload an image, try another.

I'm using the latest version 1.7.3

LeMaX10 commented 3 years ago

Still having the same issues after the update : Can not upload an image, try another.

I'm using the latest version 1.7.3

Hello! Please tell me:

  1. Are there any restrictions on the size of the uploaded file?
  2. Is the address in the config/app.php url equivalent to the address specified in the browser?
HitArrowLegend commented 3 years ago

do you mean that ?

/* -------------------------------------------------------------------------- Application URL
This URL is used by the console to properly generate URLs when using
the Artisan command line tool. You should set this to the root of
your application so that it is used when running Artisan tasks.
*/

'url' => 'http://localhost',

Should I input my website url there ?

Edit: It works. don't mind me :/

LeMaX10 commented 3 years ago

Should I input my website url there ?

Edit: It works. don't mind me :/

Good day!

Yes, one of the security policies, namely "Turn off blocking of external requests to EditorJS plugins", requires the exact site address to be in this configuration, this is necessary to avoid possible automatic requests from third-party sites.