RED-7246: Fixed redact rectangle button has no effect.

This commit is contained in:
Nicoleta Panaghiu 2023-07-28 15:33:23 +03:00
parent 9baa562300
commit 59fa4cdbdb

View File

@ -273,12 +273,11 @@ export class PdfProxyService {
}
#formatSelectedText(text: string): string {
text = text.replace(
return text?.replace(
// eslint-disable-next-line no-control-regex,max-len
/([^\s\d-]{2,})[-\u00AD]\u000D\u000A|[\u000A\u000B\u000C\u000D\u0085\u2028\u2029]/gi,
'$1',
);
return text;
}
#deactivateMultiSelect() {