From aa77ac6b8d26630b181a2f7aee7d78d4ece46dc4 Mon Sep 17 00:00:00 2001 From: Artur Arseniev Date: Fri, 30 Jun 2017 21:01:19 +0200 Subject: [PATCH] Add default protectedCss. Closes #131 --- src/editor/config/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/editor/config/config.js b/src/editor/config/config.js index 7c84ca328..c11613f5d 100644 --- a/src/editor/config/config.js +++ b/src/editor/config/config.js @@ -38,7 +38,7 @@ module.exports = { width: '100%', // CSS that could only be seen (for instance, inside the code viewer) - protectedCss: '', + protectedCss: '*{box-sizing: border-box;} body{margin: 0;}', // CSS for the iframe which containing the canvas, useful if you need to custom something inside // (eg. the style of the selected component)