Real-time collaboration within space (#411)
This commit is contained in:
@@ -9,6 +9,7 @@ export type AppEvent =
|
||||
| "editor:init"
|
||||
| "editor:pageLoaded"
|
||||
| "editor:pageReloaded"
|
||||
| "editor:pageSaved"
|
||||
| "editor:modeswitch"
|
||||
| "plugs:loaded";
|
||||
|
||||
|
||||
@@ -42,8 +42,8 @@ export function reloadPage(): Promise<void> {
|
||||
return syscall("editor.reloadPage");
|
||||
}
|
||||
|
||||
export function openUrl(url: string): Promise<void> {
|
||||
return syscall("editor.openUrl", url);
|
||||
export function openUrl(url: string, existingWindow = false): Promise<void> {
|
||||
return syscall("editor.openUrl", url, existingWindow);
|
||||
}
|
||||
|
||||
// Force the client to download the file in dataUrl with filename as file name
|
||||
|
||||
Reference in New Issue
Block a user