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

🐛 Fixed "Paste URL as link" embed card fallback #1155

Merged
merged 1 commit into from
Jan 31, 2024

Conversation

kevinansfield
Copy link
Member

part of ENG-594

  • the button's onClick behaviour was directly calling the handlePasteAsLink function which results in the passed-in argument being a DOM event when the function expects a URL, updated to call the function with the URL as the argument
  • unskipped test for this feature to avoid future regressions

part of ENG-594

- the button's onClick behaviour was directly calling the `handlePasteAsLink` function which results in the passed-in argument being a DOM event when the function expects a URL, updated to call the function with the URL as the argument
- unskipped test for this feature to avoid future regressions
@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (362a563) 90.56% compared to head (4248757) 90.56%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1155   +/-   ##
=======================================
  Coverage   90.56%   90.56%           
=======================================
  Files         176      176           
  Lines       16548    16548           
  Branches     1781     1781           
=======================================
  Hits        14987    14987           
  Misses       1552     1552           
  Partials        9        9           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@kevinansfield kevinansfield merged commit 8e5a004 into TryGhost:main Jan 31, 2024
1 check passed
@kevinansfield kevinansfield deleted the fix-embed-paste-as-link branch January 31, 2024 17:37
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

Successfully merging this pull request may close these issues.

2 participants