Closed mistergraphx closed 3 years ago
Hi,
If a create a simple custom block,
<mj-text data-gjs-hoverable="false" data-gjs-selectable="false" padding-top="10px" css-class="remove-lh cta-in-websitee" > <a data-gjs-hoverable="true" data-gjs-selectable="true" href="https://website.com" style="color:#272727 !important; background-color: #ABDBC6 !important;line-height:39px;font-size:16px;"> LINK </a> </mj-text>
if i change the background color, when i export the html, the style attribute is removed on links.
It's the same with links in a simple text block, and it can be reproduce in the demo.
the grapesjs options, forceClass or avoidInlineStyles seems doing nothing in this case.
How can i change or bypass this behavior ?
Thanks for your answers
Using the ckeditor plugin fix the issue
Hi,
If a create a simple custom block,
if i change the background color, when i export the html, the style attribute is removed on links.
It's the same with links in a simple text block, and it can be reproduce in the demo.
the grapesjs options, forceClass or avoidInlineStyles seems doing nothing in this case.
How can i change or bypass this behavior ?
Thanks for your answers