mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
[pdf] Fix pasteHtml method for pdf editor
This commit is contained in:
@ -383,7 +383,7 @@
|
||||
if (AscCommon.c_oEditorId.Word === _t.getEditorId())
|
||||
{
|
||||
let logicDocument = _t.private_GetLogicDocument();
|
||||
if (logicDocument)
|
||||
if (logicDocument && logicDocument.IsDocumentEditor())
|
||||
{
|
||||
logicDocument.GetDrawingDocument().UpdateTargetFromPaint = true;
|
||||
logicDocument.private_UpdateCursorXY(true, true, true);
|
||||
|
||||
Reference in New Issue
Block a user