arreglar bug cuando hay muchos bloques

This commit is contained in:
void 2020-11-05 19:20:19 -03:00
parent d6141ddee6
commit c926dcfe8f

View file

@ -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)