feat: prefer hash when importing libraries & expose importLibrary (#3320)

This commit is contained in:
David Luzar 2021-03-26 18:10:43 +01:00 committed by GitHub
parent 5d26c15daf
commit cf9e29834d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 68 additions and 17 deletions

View file

@ -179,7 +179,7 @@ const LibraryMenuItems = ({
<a
href={`https://libraries.excalidraw.com?target=${
window.name || "_blank"
}&referrer=${referrer}`}
}&referrer=${referrer}&useHash=true`}
target="_excalidraw_libraries"
>
{t("labels.libraries")}