diff --git a/app/assets/javascripts/02-editor.js b/app/assets/javascripts/02-editor.js index 2ad0aa14..e01132ef 100644 --- a/app/assets/javascripts/02-editor.js +++ b/app/assets/javascripts/02-editor.js @@ -344,10 +344,10 @@ function cleanNode (node, contentEl) { const value = child.style[style] switch (style) { - case 'background-color': - if (child.tagName === "MARK") break - default: - child.style[style] = "" + case 'background-color': + if (child.tagName === "MARK") break + default: + child.style[style] = "" } } } diff --git a/app/assets/stylesheets/editor.scss b/app/assets/stylesheets/editor.scss index 56ec38e1..e5eced70 100644 --- a/app/assets/stylesheets/editor.scss +++ b/app/assets/stylesheets/editor.scss @@ -13,9 +13,9 @@ .selected { outline: #f206f9 solid medium; } - iframe { - min-height: 480px; - } + iframe { + min-height: 480px; + } img, video, iframe, audio { width: 100%;