[Question/Bug]: The image in the cell shifts the content
Hello! I Have an issue, when adding an image in cell, the neighbors cell content is 'jumping' to the bottom. Actually this issue not only with image, but also with video, links etc.
Here is how it looks without image:

And now with image:

Any idea what it might be and how to fix it?
Probably related to display: table, the grid system uses by default, add this to your grapesjs.init
//...
pluginsOpts: {
//...
'gjs-blocks-basic': {
flexGrid:1
}
},
//...
@Ju99ernaut thanks for reply, but unfortunately it didn't help. I managed to solve this issue by overriding default Cell component. I have added
defaults: {
...defaultModel.prototype.defaults,
//...
style: {
'vertical-align': 'top',
},
}
But probably I'm doing something wrong
I'm able to reproduce that behavior with default grid

But when I turn on flex-grid it functions as expected

Probably have to replace all previous instances of the component that use display: table, but I don't think that is necessary since your solution works.