Issue #2680💬 AnsweredOpened March 24, 2020by FedericoPalma922 reactions

Style cleaned on loading

快速解答by FedericoPalma921

thank you

Read full answer below ↓

Question

Hi,

when I load the html with the inline style previously saved by the editor the style is removed. How can I solve my problem?

Answers (3)

FedericoPalma92March 24, 2020

thank you

artfApril 2, 2020

config.avoidInlineStyle is true by default, there are some rare cases where it might be useful to disable (eg. disabled in the mjml plugin to make it work properly) but for the common web pages we encourage to keep it as it is

pouyamiralayiMarch 24, 2020

@picozzo92 i believe from v15.08 inline styles are not supported anymore. Cheers!

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...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.