RED-7246: Fixed redact rectangle button has no effect.
This commit is contained in:
parent
9baa562300
commit
59fa4cdbdb
@ -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() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user