Can't set hyperlink to page node with plugin

Within the UI its quite simple to copy a link to a page within a file, and add it as a hypertext link to any text. But when trying to do so with the plugin APIs, I get an error that it must be a frame node.

Why is there this inconsistency?

Example below of a text node that’s set to a page node via the UI. Trying to link to the same page with the API fails

8 Likes

Same here, this would be awesome to get fixed.
Even when setting a link to the URL manually this leads to the same Error.
When using “http://” protocol instead of “https://” it works, but will open in a separate tab.

The same issue, it works on UI if I can paste the link of a component or an instance to the text, but I cannot do it on API.

Same issue here with trying to link to sections