Skip to content
Snippets Groups Projects
Commit 43125097 authored by chris's avatar chris
Browse files

fix replace all case sensitive

parent d0dc5e77
No related branches found
No related tags found
1 merge request!513Student numerical
......@@ -269,6 +269,7 @@ const ExpandedFindAndReplaceComponent = ({
const results = DocumentHelpers.findMatches(
singleView.state.doc,
searchValue,
matchCaseOption,
);
const {
state: { tr },
......@@ -370,11 +371,11 @@ const ExpandedFindAndReplaceComponent = ({
<ControlContainer>
<ButtonReplace onClick={replace}>
{' '}
<Translation label="Replace with" />
<Translation label="Replace" />
</ButtonReplace>
<ButtonReplaceAll onClick={replaceAll}>
{' '}
<Translation label="Replace with" /> <Translation label="All" />
<Translation label="Replace" /> <Translation label="All" />
</ButtonReplaceAll>
<PreviousNextContainer>
<IconWrapper
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment