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

Disable Selection of Furigana in example sentences(search result) #5

Open
devsorice opened this issue May 25, 2021 · 1 comment
Open

Comments

@devsorice
Copy link

When i try to copy-paste a sentence, furigana get also selected and it is a little bit annoying.

<li class="clearfix">
      <span class="furigana">き</span>
      <span class="unlinked">気をつけて</span>
</li>

Suggested Change

<style>
.furigana{
-moz-user-select: -moz-none; -khtml-user-select: none; -webkit-user-select: none; -o-user-select: none; user-select: none;

}
</style>
@Kimtaro
Copy link
Owner

Kimtaro commented Jul 11, 2021

@devsorice Thank you for this! This is a great solution until I can reimplement a better furigana markup. I just deployed it to production and it works on Chrome and Firefox, but not on Safari.

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

2 participants