RemovePlugin

RemovePlugin(guid, backup) → { object }

Removes a plugin with the specified GUID.

Parameters:

Name Type Description
guid string

The plugin identifier. It must be of the asc.{UUID} type.

backup string

The plugin backup. This parameter is used when working with the desktop editors.

Returns:

Type
object

Example

Copy code
function removePlugin(backup) {
    if (removeGuid)
        window.Asc.plugin.executeMethod('RemovePlugin', [removeGuid, backup], function(result) {
            postMessage(result);
        });

    removeGuid = null;
};