Skip to content

Releases: zsviczian/obsidian-excalidraw-plugin

Excalidraw 1.0.9

08 May 05:51
ce523e5
Compare
Choose a tag to compare

See release notes for 1.0.8.

Contains minor fixes to the Templater automation for handling canvas.theme settings and theme and viewBackgroundColor from template files.

Excalidraw 1.0.8

07 May 18:34
Compare
Choose a tag to compare

1.0.8 Update

Obsidian-Excalidraw 1.0.8 update

Obsidian mobile v.0.0.18

  • This is not part of the update, but fantastic news: Starting from the Obsidian mobile version v.0.0.18, Excalidraw works well on your Mobile.

QoL improvements

  • Adds context menu to File Explorer to create new drawings
  • Adds a new command to the palette: “Transclude (embed) the most recently edited Excalidraw drawing”
  • Automatically update file-links in transclusions when you rename or move your drawing
  • Saves drawing and updates all active pre-views when drawing loses focus
  • File is closed and removed when you select “Delete file” from more options
  • Saves drawing when exiting Obsidian
  • Fixes pen positioning bug with sliding panes after panes scroll

ExcalidrawAutomte full Templater support

You now have ultimate flexibility over your Excalidraw templates using Templater.

  • Detailed documentation available here
  • I created few examples from the simple to the more complex
    • Simple use-case: Creating a drawing using a custom template and following a file and folder naming convention of your choice.
    • Complex use-case: Create a mindmap from a tabulated outline.

Next update will concentrate on some minor known issues with Mobile

  • Positioning of the pen gets misaligned with your stylus/finger after you open the command palette
  • saving when you terminate the mobile app by closing the Obsidian task

Excalidraw 1.0.8 Test 3

06 May 21:29
Compare
Choose a tag to compare
Pre-release

Issues resolved

#37, #38, #40, #41, #44, #45, #46

New features

  • Adds ExcalidrawAutomate a library of functions to generate Excalidraw drawings with Templater. Follow this link for detailed documentation and examples.
  • Adds context menu to file explorer to create a drawing in any folder.
  • Adds feature to automatically update links in excalidraw transclusions when the name of the drawing changes.

To Install:

  • Exit Obsidian.
  • Copy the 3 files main.js, manifest.json, styles.css to the vault/.obsidian/plugins/obsidian-excalidraw-plugin/ folder.
  • Restart Obsidian.
    image

Excalidraw 1.0.8 Test 2

05 May 18:21
Compare
Choose a tag to compare
Pre-release

Adds ExcalidrawAutomate a library of functions to generate Excalidraw drawings with Templater.

Fixes issue #37.
Adds context menu to file explorer to create a drawing in any folder.

Excalidraw 1.0.8 Test

02 May 19:41
Compare
Choose a tag to compare
Excalidraw 1.0.8 Test Pre-release
Pre-release

Adds ExcalidrawAutomate a library of functions to generate Excalidraw drawings with Templater.

Fixes issue #37.
Adds context menu to file explorer to create a drawing in any folder.

Excalidraw 1.0.7

29 Apr 05:27
Compare
Choose a tag to compare

Added a small tweak to styles.
Now you can control if the text wraps around the object or not.
Use |left to align the image left without text wrapping and |left-wrap to wrap text.

CSS used:

svg.excalidraw-svg-right-wrap {
  float: right;
  margin: 0px 0px 20px 20px;
}

svg.excalidraw-svg-left-wrap {
  float: left;
  margin: 0px 35px 20px 0px;
}

div.excalidraw-svg-right {
  text-align: right;
}

div.excalidraw-svg-left {
  text-align: left;
}

Excalidraw 1.0.6

28 Apr 19:38
Compare
Choose a tag to compare

Fixes:
#31 #25 #24 #23 #22 #20

Export to SVG and PNG

  • Using the filename and location of the active drawing

Image Settings

  • Export with background
  • Export with theme

Triggering export

Once-off

  • Buttons to export active drawing
  • Command palette action to export active drawing

Automated

  • Auto export SVG
  • Auto export PNG
  • Keep filenames in Sync

Open drawings on a new page or on the current page

Command Palette

  • Create a drawing on a new page by splitting the currently active pane
  • Open a drawing on a new page by splitting the currently active pane

Ribbon Button

  • Click to open in an active pane
  • CTRL+Click to open on a new page

SVG styling when embedding using a code block

  • new formatting option for the code block embed
  • Valid values: left, right, center... but really anything after the last |.
  • corresponding CSS
.excalidraw-svg-left {
 float: left;
}

.excalidraw-svg-right {
 float: right;
}

.excalidraw-svg-center {
}

.excalidraw-svg {
}

How to install

Install from Obsidian Community Plugins or ...
Copy the following 3 files into your vault/.obsidian/plugins/obsidian-excalidraw-plugin folder

  • main.js
  • manifest.json
  • style.css

1.0.6 update test release

27 Apr 21:13
Compare
Choose a tag to compare
Pre-release

Fixes:
#31 #25 #24 #23 #22 #20

Excalidraw 1.0.6 update

Export to SVG and PNG

New settings

  • Export with background
  • Export with theme
  • Auto export SVG
  • Auto export PNG
  • Keep filenames in Sync

Command palette action to export active drawing

  • Using the filename and location of the active drawing
  • Image types supported
    • PNG
    • SVG

New command palette actions

  • Create a new drawing in a new pane by splitting the currently active pane
  • Open drawing in a new pane by splitting the currently active pane

New setting

  • Configure the ribbon button to
    • open in a new pane by splitting the current pane
    • open in the currently active pane

SVG styling when embedding using code block

new options

[[drawing.excalidraw|500|left]]

[[drawing.excalidraw|500x300|right]]

[[drawing.excalidraw|center]]

corresponding CSS

.excalidraw-svg-left {
 float: left;
}

.excalidraw-svg-right {
 float: right;
}

.excalidraw-svg-center {
}

.excalidraw-svg {
}

Stencil library bug resolved

How to install the test release

Copy the following 3 files into your vault/.obsidian/plugins/obsidian-excalidraw-plugin folder

  • main.js
  • manifest.json
  • style.css

Excalidraw 1.0

25 Apr 14:55
Compare
Choose a tag to compare
1.0.5

1.0.5

MVP Alpha 3 Test Release

24 Apr 20:44
Compare
Choose a tag to compare
Pre-release

Warning

This is a pre-release using the latest unreleased Excalidraw 0.7.0 package. Based on my testing experience, this is stable, but not production-ready until Excalidraw 0.7.0 is officially released.

Fixes

Excalidraw 0.7.0 fixes

These issues in Excalidraw affected the usability of Excalidraw in Obsidian, namely:

  • The keyboard event propagation issue that impacted other workspace leaves in Obsidian. See bugs #11 and #12.
  • Solves the ctrl+x on workspace leaf title issue
  • The issue with placing library items outside view.
  • The issue with placing charts generated from pasted data

App logic fixes

  • The positioning of the drawing is also fixed. Drawings should now always appear centered within the workspace canvas when opening.
  • When closing a drawing, not switching to another document in the file view did not save the drawing. This is now fixed.
  • Drawings are always initialized with the theme they were saved.
  • Moved stencil library files to data.json in hopes that Obsidian sync will cover these in the future. (sorry, this may again impact the stencil library for those that used the previous test version)
  • main.js filesize drastically reduced (especially compared to the first test version... from 12MB down to 560kb)

Breaking change

Excalidraw 0.7.0 also introduces a breaking change in how client-side stencil libraries are handled. As a consequence items in your stencil library (But not the drawings saved in your vault!) will be lost. You will need to add library items again.
image

To Install:

Copy the 3 files main.js, manifest.json, styles.css to the vault/.obsidian/plugins/obsidian-excalidraw-plugin/ folder.
image