Giter Club home page Giter Club logo

obsidian-excalidraw-plugin's People

Contributors

1-2-3 avatar 7flash avatar axelson avatar bennyyip avatar blamcodes avatar chenpx976 avatar dhruvik7 avatar dmscode avatar evolutioned avatar firai avatar gcoloy avatar i-c-u-p avatar jkitchin avatar jmhammond avatar liamswayne avatar lukeweidenwalker avatar mqlvin avatar pandoralink avatar pjeby avatar qifei9 avatar quorafind avatar raboro avatar soraliu avatar sridgeway7 avatar threethan avatar tobybaratta avatar tswwe avatar xllowl avatar yentlprojects avatar zsviczian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

obsidian-excalidraw-plugin's Issues

request: open drawing in new pane

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.

Perfomance Issues

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-

Auto save

Auto save drawing without click .

Auto save by when update drawing or 1-3 mins.

Thanks.

Editing issues when used in combination with Sliding Panes plug-in

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:

  1. Activate "Sliding Panes" plugin
  2. Open a note
  3. Open an existing Excalidraw file
  4. Try to edit that drawing

Expected behavior
Drawing can be edited.

Desktop (please complete the following information):

  • OS: macOS
  • Latest 1.0.0 version of the plug-in

request: basic CSS styling options

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
}

Resizing and repositioning the excalidraw embeds in the notes

repositioning the embeds

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]]

Library does not load in Obsidan

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:

  • graphs.excalidrawlib
  • presentation-templates.excalidrawlib
  • schematic-symbols.excalidrawlib

BTW, I tried on the web too and it worked flawlessly.

change template approach

instead of specifying a template file, simply detect if template.excalidraw exists in the vault

PNG and SVG export does not seem to work?

This is a wonderful plugin, thank you for making it!

The export to PNG and SVG does not seem to work -- I get the attached error. Is there a permission I need to enable?

Screenshot 2021-04-26 at 14 53 07

I am using v.0.11.13 on macOS v.11.2.1

change of note title

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

Drawing misaligned and triggering slide menus on Obsidian Mobile

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.

mouse malfunction after hand drawing

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:

  • open excalidraw in iPad
  • draw something with mouse
  • use your finger to draw
  • witness the malfunction

Expected behavior
mouse click should work again.

Cursor disappear

Describe the bug
Cursor disappeared on VIM view mode. VIM biding is obsidian core plugin.

To Reproduce
Steps to reproduce the behavior:

  • open excalidraw file to edit
  • switch back to normal obsidian document
  • press esc to enter vim view mode
  • press esc again, cursor will disappear
  • (you can press cmd + e twice to save cursor back)

Expected behavior
cursor should still be there.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: Mac Bigsur
  • Version , obsidian 0.12.2 (insider build)

Sync

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.

The Excalidraw pane is still persist, when try to delete it

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

2021-04-30.05-47-21.mp4

Step to reproduce (What I do in this video) :

  1. Open Excalidraw
  2. Try to delete it by using pane option. After deleting the Excalidraw pane still presist (what expected: it's closed as other panes do)
  3. Try to look that excalidraw filein the explorer, but I can't found it.
  4. When I close the pane, the file suddenly appears! (what expected: it doesn't show, since it's deleted)
  5. Then I try to open it again, by clicking the file in the Explorer
  6. Open pane more option, and click navigate the file (and it shows correctly)
  7. Try to delete the Excalidraw, by using pane more option. And it's deleted, but the pane is still presist.
  8. But now when I close the pane, it doesn't appear again in Explorer.

Desktop (please complete the following information):

  • OS: Windows 10 2h20 64x
  • Obsidian version: 0.11.13.
  • Obsidian installer version: 0.11.9.

If excalidraw pane is closed, opening a drawing doesn’t work

To Reproduce
Steps to reproduce the behavior:

  1. Close he excalidraw pane in the sidebar
  2. Try to use command palette or menu icon shortcut to open an excalidraw draw of

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):

  • OS: chrome is

Huge icon

Describe the bug
A huge icon occurred on the left toolbar.

To Reproduce
I'm using theme "California Coast".
After installing excalidraw and closed an open drawing, it just occurred.

Expected behavior
normal size icon.

Screenshots
image

Desktop (please complete the following information):

  • OS: Mac Bigsur

Directly open draw pane by embed file

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 ?

  1. ctrl + e , go to edit model.
  2. copy file name,
  3. go to search pane.
  4. paste file name.
  5. ctrl + click file.
    too long ,too slow

Typesetting functions

image

The image is displayed to the left and the text at the bottom moves to the right, this is a good situation but cannot be actively controlled, is there a way to do the typography shown below?

image

Adding "Convert Excalidraw to Image" to the Commandpallete

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.

Copy embed file code for embed file.

when I'm drawing, I want to embed file to a note.

currently we have to

  1. ctrl + p
  2. type exal
  3. click embed command

or set shortcut for embed command , press it as step 1.

  1. or 2. find file name in so many files . ( this finding file need to take some time)..

if allow set embed file code or in "..." menu. that will quickly embed .

ExcalidrawAutomate: getElementProps and Create Group

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

Can I add text in addition to the hierarchical paragraphs?

image

There must not be any extra blank lines, or occurrences of paragraphs that are not hierarchical, other than hierarchical paragraphs. It would be great if additional text paragraphs could be added in addition to the hierarchical paragraphs

drawing alignment

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

Register view

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

https://github.com/Darakah/obsidian-fountain/blob/fbdddee7edc53c2a90690a7e7f99a26212f84675/src/main.ts

Image display position

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?

Cannot update because of version number's error

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

request: add "remove UI clutter" to options

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;
}

Button in the left menu doesn't open a drawing

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

[Request] Also add option to insert excalidraw as png/svg instead of transclude

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]]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.