How does the target parameter get set when browsing libraries from a standalone Excalidraw? #7261
-
I've integrated Excalidraw with my application. On one page, when I click/hover on the browse libraries button in the library side panel, the target parameter in the URL is set to something meaningful which includes the name of my app. On another page, the target parameter is set to "_blank" like so - https://libraries.excalidraw.com/?target=_blank One difference between my two pages is that the page with a blank target has query parameters but I have tried with another app and page with query parameters and I don't get a blank target there. I therefore can't account for the blank target hence my question as to how the target is derived for the browse libraries link. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Figured it out - window.name was blank for the page for some reason. Setting it fixed the issue. |
Beta Was this translation helpful? Give feedback.
Figured it out - window.name was blank for the page for some reason. Setting it fixed the issue.