mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[de] Fix section determination for read mode
This commit is contained in:
@ -1571,7 +1571,8 @@ CDocumentContentElementBase.prototype.Get_SectPr = function()
|
||||
if (!logicDocument || !logicDocument.IsDocumentEditor())
|
||||
return null;
|
||||
|
||||
return logicDocument.GetSections().GetSectPrByElement(this);
|
||||
let sectPr = logicDocument.GetSections().GetSectPrByElement(this);
|
||||
return logicDocument.Layout.CheckSectPr(sectPr);
|
||||
};
|
||||
|
||||
//--------------------------------------------------------export--------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user