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

[Bug] Auto Link not working in tables #105

Open
limex opened this issue Feb 8, 2024 · 0 comments
Open

[Bug] Auto Link not working in tables #105

limex opened this issue Feb 8, 2024 · 0 comments

Comments

@limex
Copy link

limex commented Feb 8, 2024

Steps:

Observed:

  • Error in Console:
index.html:1 Access to fetch at 'https://www.norgeskart.no/#!?project=norgeskart&layers=1002&zoom=12&lat=6915466.77&lon=69752.24' from origin 'app://obsidian.md' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
plugin:obsidian-auto-link-title:350     HEAD https://www.norgeskart.no/ net::ERR_FAILED
eval @ plugin:obsidian-auto-link-title:350
eval @ plugin:obsidian-auto-link-title:31
__awaiter @ plugin:obsidian-auto-link-title:27
tryGetFileType @ plugin:obsidian-auto-link-title:348
eval @ plugin:obsidian-auto-link-title:375
eval @ plugin:obsidian-auto-link-title:31
__awaiter @ plugin:obsidian-auto-link-title:27
getPageTitle @ plugin:obsidian-auto-link-title:368
eval @ plugin:obsidian-auto-link-title:625
eval @ plugin:obsidian-auto-link-title:31
__awaiter @ plugin:obsidian-auto-link-title:27
fetchUrlTitle @ plugin:obsidian-auto-link-title:618
eval @ plugin:obsidian-auto-link-title:596
fulfilled @ plugin:obsidian-auto-link-title:28
Promise.then (async)
step @ plugin:obsidian-auto-link-title:30
eval @ plugin:obsidian-auto-link-title:31
__awaiter @ plugin:obsidian-auto-link-title:27
convertUrlToTitledLink @ plugin:obsidian-auto-link-title:585
eval @ plugin:obsidian-auto-link-title:536
eval @ plugin:obsidian-auto-link-title:31
__awaiter @ plugin:obsidian-auto-link-title:27
pasteUrlWithTitle @ plugin:obsidian-auto-link-title:504
e.tryTrigger @ app.js:1
e.trigger @ app.js:1
t.trigger @ app.js:1
e.handlePaste @ app.js:1
paste @ app.js:1
(anonymous) @ app.js:1
e.runHandlers @ app.js:1
e.handleEvent @ app.js:1

image

Expected:
The enhanced Link is added to the table cell.

Notes:

  • test case but outside a table works as expected.
  • test case but with deactived "Enhance Default Paste" works: Pastes un-enhanced link

Please fix issue. Thanks in advance.

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

1 participant