github zsviczian/obsidian-excalidraw-plugin 1.7.25
Excalidraw 1.7.25

latest releases: 2.15.3, 2.15.3-beta-2, 2.15.3-beta-1...
2 years ago

Fixed

  • Tool buttons did not visually stick the first time you clicked them.
  • Tray (in tray mode) was higher when the help button was visible. The tray in tablet mode was too large and the help button was missing.
  • ExcalidrawAutomate getCM(color:TInput): ColorMaster; function will now properly convert valid css color names to ColorMaster objects.
  • The downloaded script icons in the Excalidraw-Obsidian menu were not always correct
  • The obsidian mobile navigation bar at the bottom overlapped with Excalidraw

New

  • Created ExcalidrawAutomate hook for styling script when the canvas color changes. See sample onCanvasColorChangeHook implementation following the link.

Thumbnail - Excalidraw Dynamic Styling (Custom) (1)

  /**
   * If set, this callback is triggered whenever the active canvas color changes
   */
  onCanvasColorChangeHook: (
    ea: ExcalidrawAutomate,
    view: ExcalidrawView, //the Excalidraw view 
    color: string,
  ) => void = null;

Don't miss a new obsidian-excalidraw-plugin release

NewReleases is sending notifications on new releases.