From 3c7496ac6d72534c9b285ac789d95a4040a7385c Mon Sep 17 00:00:00 2001 From: AutumnVN Date: Thu, 11 May 2023 17:59:51 -0700 Subject: TextReplace: Visible Linebreak in settings (#1063) Co-authored-by: V --- src/plugins/textReplace.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/textReplace.tsx') diff --git a/src/plugins/textReplace.tsx b/src/plugins/textReplace.tsx index f41afc5..e161168 100644 --- a/src/plugins/textReplace.tsx +++ b/src/plugins/textReplace.tsx @@ -159,7 +159,7 @@ function TextReplace({ title, rulesArray, rulesKey, update }: TextReplaceProps) onChange(e.replaceAll("\\n", "\n"), index, "replace")} + onChange={e => onChange(e, index, "replace")} />