fix: ctrl+f in editor should open search/replace

This commit is contained in:
thecodrr
2022-02-12 12:47:56 +05:00
parent 715c9696c1
commit 295ea9c01d

View File

@@ -346,6 +346,7 @@ function TinyMCE(props) {
}
}}
onKeyDown={(e) => {
e.stopPropagation();
if (e.ctrlKey && e.key === "s") {
e.preventDefault();
onSave();