@editorjs/image, "Can't upload image. Please try another." Error 404
See original GitHub issueEnvironment
installed today (2/26/2021)
Describe
npm commands…
npm i react-editor-js @editorjs/image
import Image from "@editorjs/image";
function App () {
const EDITOR_JS_TOOLS = {
image: Image,
};
return ( <EditorJs tools={EDITOR_JS_TOOLS} /> )
}
At first glance, the program works precisely how I wanted it to. But when I went to insert an image, after a moment of almost working and I can see the image, I got an error bubble on the bottom-left that reads, “Couldn’t upload image. Please try another.” In the console, “POST HTTP://localhost:3000/ 404 (Not Found)” and, “Image Tool: uploading failed because of” and a body object. See the attached screenshot for as much detail I can find.
Issue Analytics
- State:
- Created 3 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
editorjs image plugin return image url is not picked up
I installed image plugin on it so that I can upload an image to the server. ... The response has file->url but still...
Read more >@editorjs/image - npm
Image Tool. Image Block for the Editor.js. Features. Uploading file from the device; Pasting copied content from the web; Pasting images by ...
Read more >Image & file options | Docs - TinyMCE
When this option is not set, TinyMCE utilizes an XMLHttpRequest to upload images one at a time to the server and calls the...
Read more >CKEditor dow not work properly if editor.js loaded indirectly
Just change editor.js to second (indirect) way and CKEditor do not loaded ... GET http://localsport.rus/images/sprites.png [HTTP/1.1 404 Not Found 16мс] ...
Read more >codex-team/editor.js - Gitter
I have a question about images on editor.js ... know how I can manage the error in case of there would be an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Oh! Do I have to! I didn’t modify the code from the codesandbox. I will try to set the uploader option of the image plugin and see if it will work or not.
Thanks! Did you set uploader option of image plugin? (Rel)