Releases: zsviczian/obsidian-excalidraw-plugin
Excalidraw 1.0.8 Test 3
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:
Excalidraw 1.0.8 Test 2
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
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
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
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
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
1.0.5 1.0.5
MVP Alpha 3 Test 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.
To Install:
Copy the 3 files main.js, manifest.json, styles.css to the vault/.obsidian/plugins/obsidian-excalidraw-plugin/ folder.
MVP Alpha 2 Test 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 two bugs that 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.
- The issue with placing library items outside view.
The positioning of the drawing is also fixed. Drawings should now always appear centered within the workspace canvas when opening.
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.
To Install:
Copy the 3 files main.js, manifest.json, styles.css to the vault/.obsidian/plugins/obsidian-excalidraw-plugin/ folder.
test release to fix keyboard event propagation bug
Warning
This is a test version using the unreleased Excalidraw 0.7.0 package. This version breaks the library due to a breaking change between Excalidra 0.6.0 and 0.7.0. Your library items within Excalidraw will potentially be permanently lost!!! Your Obsidian vault will not be impacted.
fixes #12 and #11
Fixes
Fixes the keyboard even propagation impacting other workspace leaves in Obsidian.
To Install:
Copy the 3 files main.js, manifest.json, styles.css to the vault/.obsidian/plugins/obsidian-excalidraw-plugin/ folder.