Fixes #29
parent
363a11a264
commit
0abf043652
|
@ -12,4 +12,5 @@ functions:
|
||||||
events:
|
events:
|
||||||
- plug:load
|
- plug:load
|
||||||
- editor:updated
|
- editor:updated
|
||||||
- editor:pageSwitched
|
- editor:pageLoaded
|
||||||
|
- editor:pageReloaded
|
||||||
|
|
|
@ -582,6 +582,8 @@ export class Editor {
|
||||||
|
|
||||||
if (loadingDifferentPage) {
|
if (loadingDifferentPage) {
|
||||||
await this.eventHook.dispatchEvent("editor:pageLoaded", pageName);
|
await this.eventHook.dispatchEvent("editor:pageLoaded", pageName);
|
||||||
|
} else {
|
||||||
|
await this.eventHook.dispatchEvent("editor:pageReloaded", pageName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue