The most exciting news is the new laser-pointer based freedraw line tool engine by the excalidraw.com team. This should result in dramatically smoother hand-writing performance on pen enabled devices.
Significantly improved ink flow for freedraw pen. You can now toggle between pressure sensitive and constant mode for the default excalidraw.com freedraw pen. #11507, #11551
New in the Plugin
Comic book Callout Editor script available in the Script Library
Added new ExtraBold line width option, and XS font option
Fixed
BUG: Double Click to edit from Obsidian in Live preview doesn’t work anymore #2813
As a consequence of the freedraw tool changes I was “forced” to touch custom pens, which lead to the introduction of a new line width option. Without boring you with the details… since I felt the best approach was to introduce a fifth line width default, I though “why not use the extra space” for an XS font size preset and for adding the default bold font (Lilita One) to the quick access tools.
Do you like the extended element properties toolbar? or does this now feel too crowded? Let me know what you think.
I added the feature requested by @Rolf during today’s Monthly community call to show or hide document properties for embedded full Markdown files. We discuss the feature at the 10 minute mark in the session recording.
Edge cases leading to memory leak and CPU overload when closing a markdown preview while embedded Excalidraw drawings are loading, or closing an ExcalidrawView, while nested images are still loading.
Fixed the “Customize the Embedded File Link” action. If you change the dimensions of the markdown image or the PDF page reference number, the image immediately updates in the scene. You can also use this feature to swap out images, e.g. a PNG icon to an SVG icon. Default shortcut is CTRL+WIN+Click or CMD+Control+Click on the image element.
Fixed flaky embeddable state management leading to back of the note card in “lock preview mode” snapping out of preview mode a few seconds after the user ticked a checkbox.
Bumped Excalidraw Extras requirement to 0.0.15 to solve LaTeX and Mermaid not working on iOS #2825
New in ExcalidrawAutomate
Added onSceneChangeHook to allow scripts and sidepanel tabs to react to scene changes. The hook supports filtering by appStateKeys, tracking element changes, and checking for tab visibility to optimize performance.
/**
* If set, this callback is triggered when the scene changes in the target view.
* You can use this to react to appState or element changes.
* Any script can sign up for updates via this hook.
* Because this hook fires extremely frequently (on every mouse move during drawing),
* you MUST specify which appState keys you are interested in OR set trackElements to true.
* If trackElements is falsy and appStateKeys is empty or undefined, the callback will NOT be triggered to prevent performance issues.
* For sidepanel tabs, there is an additional filter feature: if triggerWhenInvisible is false,
* the callback will only trigger when the sidepanel is visible and the tab is active.
*/
onSceneChangeHook: {
appStateKeys?: (keyof AppState)[];
trackElements?: boolean;
triggerWhenInvisible?: boolean;
callback: (
elements: readonly ExcalidrawElement[],
appState: AppState,
files: BinaryFiles,
view: ExcalidrawView,
ea: ExcalidrawAutomate,
) => void;
} | null = null;