melishev / strapi-plugin-react-editorjs

📝 Plugin for Strapi Headless CMS, hiding the standard WYSIWYG editor on Editor.js
https://www.npmjs.com/package/strapi-plugin-react-editorjs
MIT License
171 stars 80 forks source link

Get the size of an Image in Request #16

Closed Johannes-Schiel closed 2 years ago

Johannes-Schiel commented 2 years ago

Hello, i realy like you Plug-In, thx for your work!

I have one question, is there a possibility to get the width and height of an image in the final request and not only the data url? (new with Strapi and editorjs)

melishev commented 2 years ago

Hello @Johannes-Schiel .

The plugin allows you to add Editor.js to Strapi without problems, the plugin is not responsible for the functionality of Editor.js.

Editor.js and its Image add-on allow you to add images to a post, and what width and height they will ultimately be determined only by you. Also, the image padding tells you whether the image is full-width or not.

melishev commented 2 years ago

@Johannes-Schiel Well, the bot didn't send out an automatic beta update message, so I do it. Please check if your issue is fixed in the new beta version⚠️.