generated from obsidianmd/obsidian-sample-plugin
-
-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The transclusion event listener is now removed properly when the element is no longer rendered and added again when it is rendered anew. The issue was that I did not send the markdown render child's private `containerEl` property. If that property is `null`, the component gets unloaded. The change fixes #14. Furthermore, from testing throughout the day, it seems that this commit together with the earlier `cachedRead` commit e53cdd2 fixes #15.
- Loading branch information
Showing
1 changed file
with
10 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters