You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've also tried using the other CKEditor plugin: https://github.com/ckeditor/strapi-plugin-ckeditor/, however I prefer this one as it allows a lot more customisation.
The other plugin sends undefined as well if you just add the image, however once you change alignment of the image it start reporting the width and height properties. This plugin still reports undefined if you change alignment or resize the image however (it does report a resize %). Perhaps this helps to find the issue (or if this plugin relies on some of their code you could pass on an issue report to them).
Having the width and height attributes available would be useful to be able to optimise the images when using them in a NextJS setup (parsing the html and loading the images into a <Image> component).
Describe the bug
The
width
andheight
attribute of images isundefined
:<img src=\"<src-path>\" alt=\"<alt-text>\" srcset=\"<src-set>\" sizes=\"100vw\" width=\"undefined\" height=\"undefined\">
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Receive the
width
andheight
of the image in the API responseThe text was updated successfully, but these errors were encountered: