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

tp.system.clipboard() excludes image links #143

Closed
ShreyasKallingal opened this issue Apr 22, 2021 · 2 comments
Closed

tp.system.clipboard() excludes image links #143

ShreyasKallingal opened this issue Apr 22, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ShreyasKallingal
Copy link

When using the tp.system.clipboard(), linked images are removed from the text. For example, if I copy an image and paste it as normal using cmd+V, I would get the following:
![](link_to_image.png)

However, the output from <%tp.system.clipboard()%> is empty.

Is there a work-around for this?

@ShreyasKallingal ShreyasKallingal added the bug Something isn't working label Apr 22, 2021
@SilentVoid13
Copy link
Owner

Hey @ShreyasKallingal, sorry for the late response.
I'm not sure I understand your problem, are you talking about the obsidian feature that auto-creates an image file when pasting an image from the clipboard ?
If that's the case, Templater can't do that, that's an obsidian feature and it wouldn't make much sense to implement that.

@ShreyasKallingal
Copy link
Author

No problem at all! I was interested in pasting linked images, so not the files themselves. But I think the better option is just to make a separate plugin to handle that. I'll close this then. Thank you :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants