Add RenderGlimmer support for embedded posts (#21046)

This commit is contained in:
Jan Cernik
2023-04-11 06:22:42 -03:00
committed by GitHub
parent 9238767f7e
commit 352bd35bf6

View File

@@ -54,4 +54,12 @@ export default createWidget("embedded-post", {
]),
];
},
init() {
this.postContentsDestroyCallbacks = [];
},
destroy() {
this.postContentsDestroyCallbacks.forEach((c) => c());
},
});