github zsviczian/obsidian-excalidraw-plugin 2.18.3
Excalidraw 2.18.3

2 hours ago

New

  • Added Mindmap Builder script to the store.
  • LaTeX Suit Integration by @TravisLEBLANC1
  • Added Linear Calendar Generator script to the store. 🙏 @iwanhoogendoorn

Fixed

  • YouTube video embeds working on iOS #2569
  • Stroke color setting for Embeddedables (markdown notes, websites) is missing after 2.17.0 update #2580
  • Context menu paste pastes in image twice #10542

New in ExcalidrawAutomate

  • Added 3 new helper functions for working with Script Engine settings (safe during initialization when scriptEngineSettings[activeScript] is undefined /null):

    • setScriptSettingValue(key: string, value: ScriptSettingValue): void
    • getScriptSettingValue(key: string, defaultValue: ScriptSettingValue): ScriptSettingValue
    • saveScriptSettings(): Promise<void>
  • Updated addArrow() to support the new Excalidraw binding options:

    • startBindMode?: "inside" | "orbit"
    • endBindMode?: "inside" | "orbit"
    • startFixedPoint?: [number, number]
    • endFixedPoint?: [number, number]
    • elbowed?: boolean
  /**
   * Returns an object describing the bound text element.
   * If a text element is provided:
   *  - returns { eaElement } if the element is in ea.elementsDict
   *  - else (if searchInView is true) returns { sceneElement } if found in the targetView scene
   * If a container element is provided, searches for the bound text element:
   *  - returns { eaElement } if found in ea.elementsDict
   *  - else (if searchInView is true) returns { sceneElement } if found in the targetView scene
   * If not found, returns {}.
   * Does not add the text element to elementsDict.
   * @param element 
   * @param searchInView - If true, searches in the targetView elements if not found in elementsDict.
   * @returns Object containing either eaElement or sceneElement or empty if not found.
   */
  getBoundTextElement(element: ExcalidrawElement, searchInView: boolean = false): {
    eaElement?: Mutable<ExcalidrawTextElement>,
    sceneElement?: ExcalidrawTextElement
    };

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

NewReleases is sending notifications on new releases.