arreglar bug cuando hay muchos bloques
This commit is contained in:
parent
d6141ddee6
commit
c926dcfe8f
1 changed files with 1 additions and 0 deletions
|
@ -365,6 +365,7 @@ function setupEditor (editorEl) {
|
||||||
if (result) {
|
if (result) {
|
||||||
type.updateInput(result, editorEl)
|
type.updateInput(result, editorEl)
|
||||||
result.classList.add("selected")
|
result.classList.add("selected")
|
||||||
|
break
|
||||||
} else {
|
} else {
|
||||||
if (!contentEl.contains(range.commonAncestorContainer)) return
|
if (!contentEl.contains(range.commonAncestorContainer)) return
|
||||||
type.disableInput(editorEl)
|
type.disableInput(editorEl)
|
||||||
|
|
Loading…
Reference in a new issue