Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request]: Paste-able in Canvas note #42

Closed
Missionary-OSBS opened this issue Dec 26, 2022 · 7 comments
Closed

[Feature Request]: Paste-able in Canvas note #42

Missionary-OSBS opened this issue Dec 26, 2022 · 7 comments

Comments

@Missionary-OSBS
Copy link

Currently, Imgur Plugin can only work when images pasted in Obsidian note file not in Canvas file.
It would be great to create a note and paste an image there and it would work as it does in note file.

I'm looking forwards to that. Thank you.

@gavvvr
Copy link
Owner

gavvvr commented Dec 26, 2022

Just learned about the Canvas feature from your request. Contributions are welcomed.

My 1st idea is that there should be something like canvas-paste event, but I do not see any canvas-related events the most recent published API

@stories-with-dice
Copy link

Hey!

I'd also be interested in this. I see the paste doesn't trigger the messagebox when I paste directly in the canvas.

However, if I first create a textbox (double click) and paste the image in that, I see that it is triggered, as I get the message box to confirm uploading to imgur. However, if I click confirm nothing happens.

@jcusimano
Copy link

Hey!

I'd also be interested in this. I see the paste doesn't trigger the messagebox when I paste directly in the canvas.

However, if I first create a textbox (double click) and paste the image in that, I see that it is triggered, as I get the message box to confirm uploading to imgur. However, if I click confirm nothing happens.

Same here!
Also checked Imgur account after this (authenticated imgur upload) and the image was not uploaded. It would be great to enable this feature in canvas as images really enhances canvas notes!

@Regulate0723
Copy link

I'm searching for this feature as well

@gavvvr
Copy link
Owner

gavvvr commented Nov 7, 2023

This is a top priority feature request.
Gonna implement it, when I will have a time.

@vvb0762
Copy link

vvb0762 commented Dec 15, 2023

This is a top priority feature request. Gonna implement it, when I will have a time.

hey,may i ask how things are going after a year,i still can't paste and upload successfully in canvas,it pops up the upload option but when clicked on it doesn't respond,thanks anyway for your hard work on this development!

@gavvvr gavvvr closed this as completed in 468cead Dec 30, 2023
@gavvvr
Copy link
Owner

gavvvr commented Dec 30, 2023

Hi @vvb0762

The implementation of this feature required me to dive into some internals of Obsidian, which are not publicly exposed and may change in the future. But I am happy to announce that the feature is finally available in 2.5.0 release of the plugin.
Check it out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants