diff --git a/js/search.js b/js/search.js index ec4ef8fb6c..859e1817b7 100644 --- a/js/search.js +++ b/js/search.js @@ -294,6 +294,10 @@ const initSearchModal = () => { // Open when / is pressed document.addEventListener("keydown", (event) => { + if (event.target.contentEditable) { + return; + } + if (event.key === "/") { show(); event.preventDefault();