From 295ea9c01d1d377cf704cd85fc3920b40942ef42 Mon Sep 17 00:00:00 2001 From: thecodrr Date: Sat, 12 Feb 2022 12:47:56 +0500 Subject: [PATCH] fix: ctrl+f in editor should open search/replace --- apps/web/src/components/editor/tinymce.js | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/web/src/components/editor/tinymce.js b/apps/web/src/components/editor/tinymce.js index 2d111b3ec..cee9626f3 100644 --- a/apps/web/src/components/editor/tinymce.js +++ b/apps/web/src/components/editor/tinymce.js @@ -346,6 +346,7 @@ function TinyMCE(props) { } }} onKeyDown={(e) => { + e.stopPropagation(); if (e.ctrlKey && e.key === "s") { e.preventDefault(); onSave();