Skip to content

Conversation

@thenaim
Copy link

@thenaim thenaim commented Apr 24, 2022

No description provided.

@lightningspirit
Copy link
Contributor

Thank you for your contribution 💯

According to the specs of editor-js/image plugin, the url field must contain a full public path hence, the relative path is just not recommended:

file - uploaded file data. Must contain an url field with full public path to the uploaded image. Also, can contain any additional fields you want to store. For example, width, height, id etc. All additional fields will be saved at the file object of output data.

Can you please elaborate in which scenarios (using the Editor.js) would this return a relative path?

Please, take into consideration that the purpose of this package is to render Editor.js features only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants