mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-02-10 18:15:19 +08:00
[pdf] Fix bug #78312
This commit is contained in:
committed by
Ilya Kirillov
parent
9de68db9de
commit
f9a0cb2211
@ -159,7 +159,7 @@
|
||||
let isOnOpen = Asc.editor.getDocumentRenderer().IsOpenFormsInProgress;
|
||||
let nCharLimit = this.ParentPDF.GetCharLimit();
|
||||
|
||||
if (false == isOnOpen && bIgnoreCount !== true) {
|
||||
if (false == isOnOpen && bIgnoreCount !== true && Asc.editor.isDocumentLoadComplete) {
|
||||
let nCharsCount = AscWord.GraphemesCounter.GetCount(codePoints, this.GetCalculatedTextPr());
|
||||
|
||||
if (nCharsCount > nCharLimit)
|
||||
|
||||
Reference in New Issue
Block a user