Releases: szamsolo/tldraw-in-obsidian
Tldraw In Obsidian 1.5.2
- Replace embed context bar with context menu
- Improve mobile touch interactions with embed view
- Fix a small bug where image bounds weren't reset when removing them from alt text in embed view
Tldraw In Obsidian 1.5.0
Custom icons #44
- Add ability to override individual icons
- Add ability to select a vault folder to override icons with
Fix bug where trying to select text inside the embed view's interactive mode would exit the interactive mode.
Embed View updates
- Switch between an image mode and interactive mode in embed view
- Uses tldraw's built-in
TldrawImage
component to render an svg image - Retain viewport bounds when exiting
interactive
for the tab's editing session
- Uses tldraw's built-in
- Ability to toggle the background in
image
mode
Add ability to specify custom bounds for embed view by adding in "alt" text. for example if you have an embed called my-embed.md
you could do ![[my-embed.md|pos=525,185;size=100,120]]
where the "alt" text is pos=525,185;size=100,120
. Note that there is a semicolon separating the two properties.
size
andpos
fields are available to use in the "alt" text of the embed,size=<width>,<height>
pos=<x_offset>,<y_offset>
pos
field is optional- separate each field with
;
, e.g.size=1280,720;pos=500,20
- Added a dotted white background in the embed to differentiate transparent areas
Fix bug where embed view wouldn't reappear when returning to it after scrolling away.
Work-around for #46
- Open the command palette (CTRL+p)
- Type
.tldr
and select the "create new drawing" option - Open the recovered file containing the affected drawing
- Select all the shapes (CTRL+a), and copy them to your clipboard
- Go to the newly created
.tldr
drawing and paste - Nice.
The images should now be stored in local storage instead of the file.
Full Changelog: 1.4.2...1.5.0
Tldraw In Obsidian 1.4.2
#41 cont'd
Full Changelog: 1.4.1...1.4.2
Tldraw in Obsidian 1.4.1
Fixes #42 and possibly #41 if is the same underlying issue.
Full Changelog: 1.4.0...1.4.1
Tldraw In Obsidian 1.4.0
- Ability to import
.tldr
files (#10, #11) - Two new commands
- Import file and open in new tab
- Import file and embed as attachment
- Refactor command registration into a new file
- Potential workaround: #41 Save a copy in vault
- Ability to open
.tldr
file for reading - Add file context menu to Edit
.tldr
files as a new tldraw-plugin-based.md
file - Implement action button functionality in .tldr file read-only mode to create a new .md file
- Add a "Open in default app" context menu when viewing a .tldr file.
Mobile notes for .tldr
"Open in default app":
- Android
- opening in Chrome will download the
.tldr
file - opening with quick share will allow to share the
.tldr
file - some apps may not work
- opening in Chrome will download the
- iOS
- untested
Full Changelog: 1.3.0...1.4.0
Tldraw (In Obsidian) 1.3.0
Changes to Embed View
- Hide editor ui in embed view #36
- Add flag to select no shape in drawing when the editor mounts in embed read only view
- Allow the use of scroll wheel in embed view after "focusing" on embed view
- Hide the context bar by default in embed view
- When the embed view gains focus show the context bar
- When the embed view loses focus hide the context bar
- Click the title in embed view to edit the markdown link
- Only allow scrolling when the embed view is focused
Screencast.from.2024-08-26.18-02-09.mp4
Full Changelog: 1.2.0...1.3.0
Tldraw (In Obsidian) 1.2.0
Changes:
- Add a command to create a new drawing and embed as attachment
- Add settings option to toggle saving embed attachments to the attachments folder (#35)
Full Changelog: 1.1.1...1.2.0
Tldraw (In Obsidian) 1.1.1
Fixes bug mentioned in #37 relating to dependency on node libraries during use on a mobile platform.
Tldraw (In Obsidian) 1.1.0
New collaborator here, hello world!
What's Changed
Updates:
- Save as copy in new file
- Zoom to fit on embeds
- Ability to override default fonts
- Update tldraw plugin from
2.1.4
to2.4.4
Bug fixes and issues closed:
#19, #23, #28, #29
Contributors:
Full Changelog: 1.0.6...1.1.0
Tldraw 1.0.6
User features:
- Embeds!!!!
- Update to Tldraw 2.1.4
- Readonly View
- Migration to new Tldraw schema
Dev features:
- remove patch since updating to Tldraw 2.1.4
Huge shout out to @jon-dez for the big PR!