where is builder? (from the perspective of a plugin)
Posted: Thu Dec 07, 2017 7:11 pm
Hi,
wondering is someone can help me to understand where builder is, (see https://api.onlyoffice.com/docbuilder/basic ) -- from within a plugin I can immediately access Api, but not builder:
I am looking to use SaveFile.
The use case is to ensure that the latest changes to the file are saved before letting the user move on. If there is a better way programmatically, let me know.
wondering is someone can help me to understand where builder is, (see https://api.onlyoffice.com/docbuilder/basic ) -- from within a plugin I can immediately access Api, but not builder:
Code: Select all
window.Asc.plugin.info.recalculate = true;
this.executeCommand("close", 'console.log(Api /* this works */); console.log(builder /* this does not work */)' );
The use case is to ensure that the latest changes to the file are saved before letting the user move on. If there is a better way programmatically, let me know.
