mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
set EXCALIDRAW_ASSET_PATH to avoid loading from unpkg.com
This commit is contained in:
parent
c42bcd6c59
commit
2441515666
@ -87,6 +87,8 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
|
|||||||
|
|
||||||
// config
|
// config
|
||||||
this.debounceTimeOnchangeHandler = 750; // ms
|
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
|
// temporary vars
|
||||||
this.currentNoteId = "";
|
this.currentNoteId = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user