mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-10-21 06:11:35 +08:00
fix(canvas): unable to copy-paste
This commit is contained in:
parent
ce2961ebd6
commit
7bcbf29f21
@ -541,10 +541,6 @@ export default class ExcalidrawTypeWidget extends TypeWidget {
|
|||||||
excalidrawAPI: (api: ExcalidrawImperativeAPI) => {
|
excalidrawAPI: (api: ExcalidrawImperativeAPI) => {
|
||||||
this.excalidrawApi = api;
|
this.excalidrawApi = api;
|
||||||
},
|
},
|
||||||
onPaste: (data: unknown, event: unknown) => {
|
|
||||||
console.log("Verbose: excalidraw internal paste. No trilium action implemented.", data, event);
|
|
||||||
return false;
|
|
||||||
},
|
|
||||||
onLibraryChange: () => {
|
onLibraryChange: () => {
|
||||||
this.libraryChanged = true;
|
this.libraryChanged = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user