GnoxNahte / obsidian-auto-embed

Obsidian plugin to embed websites using simple markdown instead of iframe
MIT License
18 stars 0 forks source link

Conflicts with "Auto Link Title" Plugin #12

Closed mgworldwide closed 1 month ago

mgworldwide commented 1 month ago

This plugin conflicts with the "Auto Link Title" plugin wherein pasting a link doesn't allow for embeds due to the functionality of fetching titles from the auto link title plugin.

How to Replicate:

Perhaps there may be a different plugin that does the same thing as "Auto Link Title" but better or is more recent? This could solve this issue.

GnoxNahte commented 1 month ago

Hmm, I'm not sure how to solve it without modifying the plugin. It takes away focus, so the suggestion made by the plugin is not used.

Workaround:

Option 1: Disable automatically linking the title

Might be a slightly worse UX since you have to do it every time but not sure how else to solve it.

Option 2: Disabling "suggest embed"

In the future, I'm planning to improve on the "Mark to embed" command to detect if the cursor is in a markdown link. When I update it, I'll comment here too.

Sorry for only giving workarounds for the past few issues 😅. But keep creating issues, maybe I can solve one of them and I would also like to keep improving this plugin!

mgworldwide commented 1 month ago

It's okay, I know coding is one tough job, I'll use workaround #1, thank you!