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