Update onGet.ts (#11298)

This commit is contained in:
Jeffrey Chen 2024-05-07 22:28:29 +08:00 committed by GitHub
parent 5095d836c0
commit 6467b3a962
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -225,7 +225,7 @@ const setHTML = (options: {
protyle.app.plugins.forEach(item => {
item.eventBus.emit("loaded-protyle-dynamic", {
protyle,
positon: options.action.includes(Constants.CB_GET_APPEND) ? "afterend" : "beforebegin"
position: options.action.includes(Constants.CB_GET_APPEND) ? "afterend" : "beforebegin"
});
});
return;