From c926dcfe8f730a44fd01f0084722f42d086d740d Mon Sep 17 00:00:00 2001 From: void Date: Thu, 5 Nov 2020 19:20:19 -0300 Subject: [PATCH] arreglar bug cuando hay muchos bloques --- app/assets/javascripts/02-editor.js | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/javascripts/02-editor.js b/app/assets/javascripts/02-editor.js index 86ad7a8..5e5b1a0 100644 --- a/app/assets/javascripts/02-editor.js +++ b/app/assets/javascripts/02-editor.js @@ -365,6 +365,7 @@ function setupEditor (editorEl) { if (result) { type.updateInput(result, editorEl) result.classList.add("selected") + break } else { if (!contentEl.contains(range.commonAncestorContainer)) return type.disableInput(editorEl)