dochub-sdk 0.1.320 → 0.1.322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -97,7 +97,7 @@ export class DocHubDocumentProto extends DocHubComponentProto implements IDocHub
|
|
97
97
|
*/
|
98
98
|
openEditor(uri?: string): void {
|
99
99
|
this.baseURI && DocHub.dataLake.openFileEditor(uri || this.baseURI, {
|
100
|
-
|
100
|
+
location: this.profile.$base.toString(),
|
101
101
|
targetWindow: (window.event as any)?.ctrlKey ? DocHubUITargetWindow._blank : DocHubUITargetWindow._self
|
102
102
|
});
|
103
103
|
}
|
package/interfaces/providers.ts
CHANGED
@@ -29,10 +29,11 @@ export interface IDocHubContentProvider {
|
|
29
29
|
toContent(data: any): any;
|
30
30
|
/**
|
31
31
|
* Объяснение контента
|
32
|
-
* @param content - Контент в формате обрабатываемом драйвером
|
32
|
+
* @param content - Контент в формате обрабатываемом драйвером
|
33
|
+
* Если не передан, то необходимо предоставить общую информацию о себе
|
33
34
|
* @returns - Объяснение контента
|
34
35
|
*/
|
35
|
-
explain(content
|
36
|
+
explain(content?: any): Promise<string>;
|
36
37
|
/**
|
37
38
|
* Вносит изменения из ченж-лога в контент
|
38
39
|
* @param content - Контент в формате обрабатываемом драйвером
|