|
|
@ -84,8 +84,10 @@ Widget defaultEmbedBuilder( |
|
|
|
controller, controller.selection.start); |
|
|
|
controller, controller.selection.start); |
|
|
|
final attr = replaceStyleString( |
|
|
|
final attr = replaceStyleString( |
|
|
|
getImageStyleString(controller), w, h); |
|
|
|
getImageStyleString(controller), w, h); |
|
|
|
controller.formatText( |
|
|
|
controller |
|
|
|
res.item1, 1, StyleAttribute(attr)); |
|
|
|
..skipRequestKeyboard = true |
|
|
|
|
|
|
|
..formatText( |
|
|
|
|
|
|
|
res.item1, 1, StyleAttribute(attr)); |
|
|
|
}, |
|
|
|
}, |
|
|
|
imageWidth: _widthHeight?.item1, |
|
|
|
imageWidth: _widthHeight?.item1, |
|
|
|
imageHeight: _widthHeight?.item2, |
|
|
|
imageHeight: _widthHeight?.item2, |
|
|
|