Commit 5d80459d authored by Sergey Luzyanin's avatar Sergey Luzyanin

oApi.textArtPreviewManager

parent 9416660a
......@@ -2528,7 +2528,7 @@ ParaMath.prototype.MathToImageConverter = function(bCopy, _canvasInput, _widthPx
Default_Tab_Stop = 1;
var oApi = Asc['editor'] || editor;
if(!oApi){
if(!oApi || !oApi.textArtPreviewManager){
return null;
}
var oShape = oApi.textArtPreviewManager.getShape();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment