mirror of
https://github.com/ONLYOFFICE/sdkjs.git
synced 2026-04-07 14:09:12 +08:00
Fix bug #72219
Fix loading of required fonts when executing InsertAndReplaceContentControls plugin method
This commit is contained in:
@ -1459,33 +1459,15 @@
|
||||
|
||||
if (task.interface)
|
||||
{
|
||||
try
|
||||
{
|
||||
AscCommon.safePluginEval(value);
|
||||
}
|
||||
catch (err)
|
||||
{
|
||||
console.error(err);
|
||||
}
|
||||
AscCommon.safePluginEval(value);
|
||||
}
|
||||
else if (!this.api.isLongAction() && (task.resize || this.api.canRunBuilderScript()))
|
||||
{
|
||||
this.api._beforeEvalCommand();
|
||||
AscFonts.IsCheckSymbols = true;
|
||||
try
|
||||
{
|
||||
commandReturnValue = AscCommon.safePluginEval(value);
|
||||
}
|
||||
catch (err)
|
||||
{
|
||||
commandReturnValue = undefined;
|
||||
console.error(err);
|
||||
}
|
||||
commandReturnValue = AscCommon.safePluginEval(value);
|
||||
|
||||
if (!checkReturnCommand(commandReturnValue))
|
||||
commandReturnValue = undefined;
|
||||
|
||||
AscFonts.IsCheckSymbols = false;
|
||||
|
||||
let _t = this;
|
||||
function onEndScript()
|
||||
|
||||
Reference in New Issue
Block a user