Fixes the following:
- Make styles pop-up accessible: #62
- Resize tldraw when obsidian window resized: #54
- Make tldraw work on whole note: #51
- @CobyPear made their first contribution in #64
Replaced the dice logo with the tldraw logo on the ribbon: #29
The tldraw Styles
pop-up is now visible:
#39
Make filename properties (prefix and date format) changeable via the plugin's settings: #23
- make the change
- reload the plugin
- create the drawing
if the date format of the filename doesn't guarantee that the next created filename is not unique, then a
suffix of _
followed by a number is added to the filename.
- this number starts from
0
when Obsidian starts. It increases by1
for every newly created file. - to reset this number to
0
, restart Obsidian.
When a diagram is already open, opening another diagram in the same pane displays the new diagram: #23
Can now edit and click in Obsidian to save the drawing which updates the .tldr
file:
#26
When the Obsidian window resizes, so does the tldraw diagram. And the scrollbars adjust accordingly: https://github.com/obsidian-tldraw-plugin/issues/25
- New files created with this plugin have a file extension of
.tldr
instead of.tldraw
to be compatible with other tldraw tools like https://tldraw.com and the VSCode extension - When in Obsidian's Vault settings, the base theme is configured to be dark, the tldraw drawings also open up in a dark theme.
- When file opened, and shapes are added to it, these are preserved when file is closed and reopened: #5
- Using tldraw's api to load documents and keep the drawn shapes updated: #11
- Refactored some logic to sit behind an internal api layer to keep source code files shorter and to accomodate where a drawing is opened from - via the Obsidian Ribbon or via this custom view.