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

Ignore search keyboard shortcuts for elements with contents that are editable #1065

Merged
merged 1 commit into from
Nov 20, 2023

Conversation

HiDeoo
Copy link
Member

@HiDeoo HiDeoo commented Nov 12, 2023

What kind of changes does this PR include?

  • Changes to Starlight code

Description

While reading and preparing a reply for #1062, I realized that we do not ignore search keyboard shortcuts for elements with contents that are editable. This PR fixes that by checking the isContentEditable property of the element.

Edit: turns out this was the issue in #1062 so this should close it at the same time.

Copy link

changeset-bot bot commented Nov 12, 2023

🦋 Changeset detected

Latest commit: 4472cbb

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@astrojs/starlight Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Nov 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
starlight ✅ Ready (Inspect) Visit Preview Nov 12, 2023 10:59am

@github-actions github-actions bot added the 🌟 core Changes to Starlight’s main package label Nov 12, 2023
Copy link
Member

@delucis delucis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this @HiDeoo!

@delucis delucis merged commit 2d72ed6 into withastro:main Nov 20, 2023
7 checks passed
@astrobot-houston astrobot-houston mentioned this pull request Nov 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🌟 core Changes to Starlight’s main package
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants