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
this makes the image centered no matter what we try to do to it, if we instead replace it just for a text widget it seems its placed to the left with a large amount of padding regardless of what we try to do, eg: wrapping it in flex widgets like rows
Uh oh!
There was an error while loading. Please reload this page.
when using the custom renderer to show an image
customRender: {
'img': (renderContext, child, attributes, _) {
var imageUrl = attributes['h2'];
return Text('H2');
},
'img': (renderContext, child, attributes, _) {
var imageUrl = attributes['src'];
return Text('IMAGE');
},
},
this makes the image centered no matter what we try to do to it, if we instead replace it just for a text widget it seems its placed to the left with a large amount of padding regardless of what we try to do, eg: wrapping it in flex widgets like rows
https://drive.google.com/file/d/17PKWI4OT0rKoT7FrI-m2jEdwu60P52IP/view?usp=sharing
The text was updated successfully, but these errors were encountered: