Skip to main content

In my plugin I get the main component from a instance, and from the main component I read the documentationLinks, but for some some reason it is empty, even though when I click on the inspect tab for the instance it has the “View documentation” button which takes you to the correct documentation.


Does this happen because the component comes from a external component library?


// prints n]
console.log(instance.mainComponent?.documentationLinks)

Probably, the link to the component documentation was added not to the ComponentNode, but to the ComponentSetNode. Try checking the parent of this ComponentNode.


Thank you, that worked ☺️


Reply