From 903ace61dec8a5f9e6250e03d95de4370f19092e Mon Sep 17 00:00:00 2001 From: f Date: Mon, 16 Nov 2020 20:49:46 -0300 Subject: [PATCH] permitir cambiar el color a mark --- app/assets/javascripts/02-editor.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/assets/javascripts/02-editor.js b/app/assets/javascripts/02-editor.js index e552a86e..2ad0aa14 100644 --- a/app/assets/javascripts/02-editor.js +++ b/app/assets/javascripts/02-editor.js @@ -344,6 +344,8 @@ function cleanNode (node, contentEl) { const value = child.style[style] switch (style) { + case 'background-color': + if (child.tagName === "MARK") break default: child.style[style] = "" }