-
Notifications
You must be signed in to change notification settings - Fork 123
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
(Bug report) Libraries in Excalidraw are broken #772
Comments
For reference: Zadam integrated libraries allrdy: But the feature doesn´t work anymore with triliumnext. I´m also happy for more advice where to search. Maybe i can debug myself with some help. |
Just an idea: instead of saving the library in the attachments, how about a own hidden notebook structure and the user can just add the json content there. so the user could manage his library. So this could be rather a feature improvement instead bug fixing. |
Documentation for fix, until I handle my code better. It's chaos right now: change in sattachments.ts:
undefined was null before. and in ultis.ts:
null was replaced with undefined too. then it works like in zadams integration |
Reopening until the PR is merged. |
Done in #787 . |
Description
In the file canvas.js the following part of the code is broken:
'''
Promise.all(
(await note.getAttachmentsByRole('canvasLibraryItem'))
.map(attachment => attachment.getBlob())
).then(blobs => {
if (note.noteId !== this.currentNoteId) {
// current note changed in the course of the async operation
return;
}
'''
the code return empty blob content.
TriliumNext Version
0.90.12
What operating system are you using?
Windows
What is your setup?
Local + server sync
Operating System Version
Win 10
Error logs
No response
The text was updated successfully, but these errors were encountered: