From eecfabef61b58a652b44f353bfbe45d5b34ba19e Mon Sep 17 00:00:00 2001 From: Abdullah Atta Date: Mon, 20 Mar 2023 09:46:18 +0500 Subject: [PATCH] web: make sure editor takes full vertical space --- apps/web/src/components/editor/index.tsx | 2 +- packages/editor/src/extensions/search-replace/search-replace.ts | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/src/components/editor/index.tsx b/apps/web/src/components/editor/index.tsx index fcb125066..9fc92a42f 100644 --- a/apps/web/src/components/editor/index.tsx +++ b/apps/web/src/components/editor/index.tsx @@ -363,7 +363,7 @@ function EditorChrome( ) : null} - + { const regex = (s: string, settings: SearchSettings): RegExp => { const { enableRegex, matchCase, matchWholeWord } = settings; const boundary = matchWholeWord ? "\\b" : ""; - console.log(boundary); return RegExp( boundary + (enableRegex ? s : s.replace(/[-/\\^$*+?.()|[\]{}]/g, "\\$&")) +