You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When incorporating markdown-toolbar-element into an Angular (11.2.12) component that is added to the DOM dynamically, this.getAttribute() returns undefined. A concrete example of this would be the level attribute of MarkdownHeaderButtonElement
it works as expected. Do you have a default strategy for this scenario? Unfortunately, adding setTimeout() breaks the test cases for title.
The text was updated successfully, but these errors were encountered:
alsoicode
changed the title
getAttribute returns undefined when used with async components
this.getAttribute() returns undefined when used with async components
May 17, 2021
When incorporating markdown-toolbar-element into an Angular (11.2.12) component that is added to the DOM dynamically, this.getAttribute() returns undefined.
Could you attach a minimum reproduction case so we can dig into the issue?
Hello,
When incorporating markdown-toolbar-element into an Angular (11.2.12) component that is added to the DOM dynamically,
this.getAttribute()
returns undefined. A concrete example of this would be thelevel
attribute ofMarkdownHeaderButtonElement
If I force the event loop to tick one time:
it works as expected. Do you have a default strategy for this scenario? Unfortunately, adding setTimeout() breaks the test cases for title.
The text was updated successfully, but these errors were encountered: