mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-01-07 21:39:48 -06:00
set EXCALIDRAW_ASSET_PATH to avoid loading from unpkg.com
This commit is contained in:
@@ -87,6 +87,8 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
|
||||
|
||||
// config
|
||||
this.debounceTimeOnchangeHandler = 750; // ms
|
||||
// ensure that assets are loaded from trilium
|
||||
window.EXCALIDRAW_ASSET_PATH = `${window.location.origin}/node_modules/@excalidraw/excalidraw/dist/`;
|
||||
|
||||
// temporary vars
|
||||
this.currentNoteId = "";
|
||||
|
||||
Reference in New Issue
Block a user