The Obsidian Excalidraw Plugin is a powerful tool for sketching and note-taking. It offers a range of features, including custom fonts, pens, and OCR support. Users can import SVG files, convert them into drawings, and edit properties with ease. The plugin also includes a script engine for executing macros and assigning shortcuts. Additionally, it supports QuickAdd, Templater, and Dataview plugins. The ExcalidrawAutomate feature allows users to automate repetitive tasks, such as auto-toggling pens or hardware eraser buttons. With its multilingual support and full drawing file history synchronization, the Obsidian Excalidraw Plugin is a valuable addition to any Obsidian user's toolkit.
/**
* Add, modify, or delete keys in element.customData and preserve existing keys.
* Creates customData={} if it does not exist.
* Takes the element id for an element in ea.elementsDict and the newData to add or modify.
* To delete keys set key value in newData to undefined. So {keyToBeDeleted:undefined} will be deleted.
* @param id
* @param newData
* @returns undefined if element does not exist in elementsDict, returns the modified element otherwise.
*/
public addAppendUpdateCustomData(id:string, newData: Partial<Record<string, unknown>>);
any
with proper type//@ts-ignore