From a2234b558afe4c7b7929ac1e338149024dfa442d Mon Sep 17 00:00:00 2001 From: Daan Roet Date: Tue, 22 Sep 2020 14:33:04 +0200 Subject: [PATCH] fix: apply width="auto" to mj-image parent wrapper this patch will display images with width="100%" correctly, instead of showing the default mj-body width (550px) --- src/components/Image.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Image.js b/src/components/Image.js index 71e46f2..397ef39 100644 --- a/src/components/Image.js +++ b/src/components/Image.js @@ -40,7 +40,7 @@ export default (editor, { dc, coreMjmlModel, coreMjmlView }) => { getMjmlTemplate() { return { - start: ``, + start: ``, end: ``, }; },