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