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
First of all, thank you for your great efforts. I am working on integrating the excalidraw library into the trilium note app (zadam/trilium#2798). Since trilium is mainly self-hosted, it is important to self-host all assets.
After setting window.EXCALIDRAW_ASSET_PATH it seemed to solve the issue when using the react version. However, since we use exportToSvg() to save an SVG-image, I found, that some assets are still loaded from a 3rd party. This time not unpkg.com, but excalidraw.com.
I did not have time to do a solution, but I found the lines that indicates the problem.
Dear excalidraw team.
First of all, thank you for your great efforts. I am working on integrating the excalidraw library into the trilium note app (zadam/trilium#2798). Since trilium is mainly self-hosted, it is important to self-host all assets.
After setting
window.EXCALIDRAW_ASSET_PATH
it seemed to solve the issue when using the react version. However, since we useexportToSvg()
to save an SVG-image, I found, that some assets are still loaded from a 3rd party. This time not unpkg.com, but excalidraw.com.I did not have time to do a solution, but I found the lines that indicates the problem.
excalidraw/src/scene/export.ts
Line 125 in c5a7723
excalidraw/src/scene/export.ts
Line 129 in c5a7723
Thank you for your time.
Best regards
Thomas
PS: Of course, we could just string-replace the url of the fonts, but it looked like a minor bug to me.
The text was updated successfully, but these errors were encountered: