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)