zsviczian / obsidian-excalidraw-plugin Goto Github PK
View Code? Open in Web Editor NEWA plugin to edit and view Excalidraw drawings in Obsidian
A plugin to edit and view Excalidraw drawings in Obsidian
Using this Plugin inside Obsidian causes about 20% more of CPU/GPU usage than working inside the browser..this results to delayed displaying of shapes/handdrawn figures and so on.. In the Webinterface on excalidraw it works properly.
Im using an Surface Book 1 (i5/8Gig) on WIndows 10-
Issue: the button in the left menu opens a list of drawings but does nothing when I choose any of them. It works once, when I restart Obsidian, after I open any other note or file it stops working. No matter if other notes are opened or all closed.
Opening drawings from the command palette works, only via button not. Obsidian v.0.11.13, MacOS
instead of specifying a template file, simply detect if template.excalidraw exists in the vault
Sorry, my English is bad, hope this video describing the bug well.
And thank you so much for the plugin 🙏.
when I'm drawing, I want to embed file to a note.
currently we have to
or set shortcut for embed command , press it as step 1.
if allow set embed file code or in "..." menu. that will quickly embed .
currenlty open new or old file is light mode by default.
If so that would be perfect!
like this方正徐静蕾行书 简字体免费下载和在线预览-字体天下
I use a specific CSS styling for all my embedded images, but Excalidraw drawings don't utilize the same CSS class, so the styling doesn't apply to them.
I ask that settings for styling like border, border radius, margins, etc be provided in the Excalidraw plugin menu.
Not exactly urgent, but it'd be nice to have for people that aren't fond of fiddling with snippets and themes.
Thanks!
edit: while there aren't any native options, anyone that wants to style their embed image can use the following
.excalidraw-svg svg {
put stuff here
}
Hi, currently the "Open an existing drawing or create a new one" command can only open a drawing in the current pane (will create a new pane if none are active).
This is an issue because if you want to create a drawing, you have to open another panel first and then open the drawing.
I'd simply like to be able to open/create a drawing in a new pane, instead of the one I'm currently editing.
Hi,
Kindly check this screen recorded video where I'm unable to visualise the content while I draw. Is there any scaling factor which I should set?
Is there a way to make it float and and wrap text around it.
Behavior somewhat similar to ambidition blocks.
Hello,
first of all thanks for this amazing plugin.
Im using Anki Flashcards and would also like to use my drawings as content for that. Since Anki don’t understand excalidraw, it would be nice to embed via CNTRL+P directly the generated pictures.
i would use it like this:
this is my frontcard #flashcard
![[picture_generated_from_excalidrawing.png/svg]]
Auto save drawing without click .
Auto save by when update drawing or 1-3 mins.
Thanks.
When used together with the (popular) Sliding Panes plug-in editing issues occur: when a note is open AND you open an Excalidraw file in a new pane, editing of that drawing is not possible (drawing appears, but you cannot select any existing element of that drawing).
Issue does not occur when that sliding panes plug-in is disabled.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Drawing can be edited.
Desktop (please complete the following information):
Hi,
I am using an android Samsung Galaxy Tab S7 with S pen. The line is like a centimeter misaligned. When I use my finger it works fine. When drawing too close to hot edges it triggers the quick open menu.
Other then that, it seems to work pretty OK. Looking forward to further developments. If you need me to send a recording or test something out let me know.
The API Plugin.registerExtensions() will now allow the app to recognize the file extension without requiring the user to turn on the "Detect all file extensions" option. In combination with Plugin.registerView(), you can now create custom viewers or editors for any file type that we don't currently support.
examples to look at:
https://github.com/deathau/csv-obsidian/blob/f03543ccef64130c28a7ee5948cdf41365ddf7b7/src/main.ts#L46
Link back to lines in your document with blockIDs so I can keep the drawing and the document in sync
Im using Anki Flashcards within my Notes which follows this Syntax:
This is the front #flashcard
This is the back
and would like to use Excalidrawings as the Back/Front of my Cards. Since Anki dont understand Excalidraw,
it would be nice to embed generated pictures of these drawings like this:
This is the front #flashcard
![[And_this_is_the_generated_pictures_of_excalidrawing_nr_10.png]]
By now everything must be converted/screenshotted and copied, where i have to open/find the corresponding drawings.
An corresponding Command in the Palette "Convert Excalidraw to Image" would be saving much time.
I've tried to load some libraries but no element appear in the library palette.
I did the following:
I installed the Obsidian plugin, and changed the default Excalidraw folder and Excalidraw template file folder. Then, I went to the library repository to download some of them.
I used to the library option (hotkey 9), pressed load button and opened the "excalidrawlib" file, but nothing happens , no library item appeared in the palette.
I've tried the following libraries:
BTW, I tried on the web too and it worked flawlessly.
I want to align image in the screen by something like
'''excalidraw
[[excalidraw/drawing.excalidraw|100|left]]
'''
so the drawing in preview mode will show on left side instead middle of screen.
please also support 'right' side option
Describe the bug
Cursor disappeared on VIM view mode. VIM biding is obsidian core plugin.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
cursor should still be there.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Hello! I'm building mindmapping and diagramming service https://app.mentalmaster.net . A short intro on its work available here https://www.youtube.com/watch?v=SaPoyYcPhcA . I want to wrap it into the Obsidian plugin in the same way you`ve done with Excalidraw. I wanted to discuss the ways we could cooperate. How can we get in touch?
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Many thanks for solving the previous problem.
I would also like to know if the images that are placed in the notes can be displayed to the left in addition to the centered position?
Describe the bug
When using iPad, the mouse left click (draw) will not work again after you use finger to draw.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
mouse click should work again.
This would help with embedding such that markdown files are more platform-independent.
Hi, people might want to remove the GitHub and the encryption icon, so it'd be nice to have that as an option.
This can be done using the following CSS:
.excalidraw .github-corner, .excalidraw .layer-ui__wrapper .encrypted-icon {
display: none !important;
}
I am facing the new problem that I am unable to use backspace in the title of a note when the the excalidraw board is present along with other notes.
[9:38 AM]
It seems like it intrupts the saving of the note while the board is active as When I reloded the obsidian my note got deleted
[9:42 AM]
https://screenrec.com/share/4jV3PlQdFo
21.04.2021_13.11.43_REC
Recorded with ScreenRec
as If now the embeds is default to left side of the pane.
Is there a way to make it float and and wrap text around it.
The behavior some what similar to ambidition blocks.
also can you add a feature to resize images by using syntax like [[exalidraw_example|300]]
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Window pane will open itself if not open upon using one of the methods for opening a drawing
Desktop (please complete the following information):
Describe the bug
I try to delete Excalidraw file from more option drop down, but after delete it, the pane is still persist
To Reproduce
Step to reproduce (What I do in this video) :
Desktop (please complete the following information):
Is possible directly open draw pane by embed file ?
If I have to edit the diagram when see the note, how the paths to go edit ?
As the title says. The filenames (or rather paths) in the embed blocks should be updated.
Currently, the filenames are not updated in the embed blocks, so if we rename a drawing, that embedded drawing will stop working (loading).
getElementProps(elementID) to return element object. This will allow reading / editing element properties from script.
group([elementID,...]):string returns groupID
createPNG() and createSVG(): same input as create
toClipboard
Should the sync work for .excalidraw files? It does not seem to at the moment. I am running Obsidian v.0.11.13 with Excalidraw 1.0.7 installed, on macOS 11.3. Sync is turned on for all the listed options, and works for everything else to another mac.
Thanks again for the wonderful plugin. Great to have PNG export working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.