Issue #2314Opened October 7, 2019by alimajedcme0 reactions

[BUG] grapesjs does not handle correctly outlook specific HTML

Question

Hello all,

I have a template that includes outlook specific HTML as shown below: <!--[if (gte mso 9)|(IE)]><table width="100%" border="0" cellpadding="0" cellspacing="0"><![endif]-->

When I import this HTML, and try to add a block above or below this specific location in the DOM, the green line showing where the component will be dropped in the canvas won't be displayed correctly, and will become much smaller than expected, as show below <img width="1232" alt="Screen Shot 2019-10-07 at 6 48 18 PM" src="https://user-images.githubusercontent.com/51313079/66327476-9130a900-e933-11e9-901e-eec3ddebef46.png">

Any idea why this is happening? I think it is because the comment tagname does not have a width but is there any workaround for this?

Thank you all.

Answers (1)

artfOctober 16, 20190 reactions

Probably you would need to create a custom component to handle such a case

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.