Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

Clipping the URL of a page yields an empty "quote" #52

Open
wsw70 opened this issue Aug 3, 2022 · 3 comments
Open

Clipping the URL of a page yields an empty "quote" #52

wsw70 opened this issue Aug 3, 2022 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@wsw70
Copy link

wsw70 commented Aug 3, 2022

Clipping selected text in the body o the page works fine.

Clipping the URL, however, yields an empty quote:

> 

Clipped from [Meilleure Serrure connectée août 2022 : quel modèle installer ?](https://www.phonandroid.com/meilleure-serrure-connectee-quel-modele-installer.html) at 2022-08-03.
@wsw70 wsw70 added the bug Something isn't working label Aug 3, 2022
@jplattel
Copy link
Owner

jplattel commented Aug 3, 2022

The current implementation work in a way that to user selects some text on a webpage to be clipped. How would you like it to work if no selection is made? I cannot clip the entire page, as it's too much data to pass along within the url (that's how it works technically)

Would you like the url to be the clipped text?

@jplattel jplattel added enhancement New feature or request and removed bug Something isn't working labels Aug 3, 2022
@wsw70
Copy link
Author

wsw70 commented Aug 3, 2022

Would you like the url to be the clipped text?

Yes, this is what I was thinking. I tried to select the URL and have that posted to Obsidian.
OTOH I see that the clip includes the URL so maybe when just selecting the URL or not selecting anything, the default information (under the quote) could be copied?

@jimpfaff
Copy link

jimpfaff commented Aug 3, 2022

the reason you are having the problem is because of how you set up the "Clipping Format." You should check that area per the image below. You probably have it as:

{clip}
Clipped from {title} at {date}.

What you need to change is to remove the beginning markdown item ">" out of that setting and then keep the "{clip}" there. Therefore the quote markdown will not transfer to your clip. And if you don't highlight anything on the page, no "{clip}" will be pushed up to your new note.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants