From cf4d027eba709c8e7bf3e351f5ccac837eed65c3 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Thu, 12 Sep 2019 00:37:36 +0200 Subject: [PATCH] Make avoidInlineStyle true by default --- src/editor/config/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/editor/config/config.js b/src/editor/config/config.js index bc5406979..a8aa613e1 100644 --- a/src/editor/config/config.js +++ b/src/editor/config/config.js @@ -123,7 +123,8 @@ export default { // element's `style` attribute. Unfortunately, inline styling doesn't allow // use of media queries (@media) or even pseudo selectors (eg. :hover). // When `avoidInlineStyle` is true all styles are inserted inside the css rule - avoidInlineStyle: 0, + // @deprecated Don't use this option, we don't support inline styling anymore + avoidInlineStyle: 1, // Avoid default properties from storable JSON data, like `components` and `styles`. // With this option enabled your data will be smaller (usefull if need to