We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fc0be9e commit 7d18e6eCopy full SHA for 7d18e6e
src/core/app.tsx
@@ -40,7 +40,7 @@ const SearchReplaceForBlockEditor = (): JSX.Element => {
40
const [ caseSensitive, setCaseSensitive ] = useState< boolean >( false );
41
const [ context, setContext ] = useState< boolean >( false );
42
43
- // Reference to the first field inside the modal
+ // Reference to the first field inside the modal.
44
const searchFieldRef = useRef< HTMLInputElement | null >( null );
45
46
/**
@@ -58,7 +58,7 @@ const SearchReplaceForBlockEditor = (): JSX.Element => {
58
.getSelection()
59
.toString();
60
61
- // By default, reset count and search input.
+ // By default, reset count, search & replace inputs.
62
if ( ! selectedText ) {
63
setReplacements( 0 );
64
setSearchInput( '' );
0 commit comments