TextReplace: Fix Linebreak (#1057)
This commit is contained in:
parent
8f61119b99
commit
84371ed456
@ -153,7 +153,7 @@ function TextReplace({ title, rulesArray, rulesKey }: TextReplaceProps) {
|
|||||||
<Input
|
<Input
|
||||||
placeholder="Replace"
|
placeholder="Replace"
|
||||||
initialValue={rule.replace}
|
initialValue={rule.replace}
|
||||||
onChange={e => onChange(e, index, "replace")}
|
onChange={e => onChange(e.replaceAll("\\n", "\n"), index, "replace")}
|
||||||
/>
|
/>
|
||||||
<Input
|
<Input
|
||||||
placeholder="Only if includes"
|
placeholder="Only if includes"
|
||||||
|
Loading…
Reference in New Issue
Block a user