-
Notifications
You must be signed in to change notification settings - Fork 1
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
Paste into input fields not possible anymore #1
Comments
Hi Henri, Thank you for your message. Can you please send more details about the problem? Best |
Wow what a fast response :-) I use ClipBoardJS in addition to htmx like this: <html>
<head>
<script src="/static/js/CopyClipboard.js"></script>
</head>
<body>
<input type="search"
hx-boost="true"
hx-post="/search/"
hx-target="#content"
hx-swap="innerHTML scroll:top"
hx-trigger="keyup changed, keydown[key=='Enter'], search">
<span data-copy-text="dummy-text" onclick="copy.text(this);">dummy-text</span>
</body>
</html> This works nicely - one click onto the But, the input field does not accept any paste via Thanks for any hint! |
So you want to keep the |
Yes, exactly. |
Hi there,
I use your CopyClipboardJS happily because it makes it so easy to add click-and-copy functionality. I recently found that it causes normal fields in forms to become unable to receive a paste from the clipboard. Do you have any idea why and how to fix this?
Regards
The text was updated successfully, but these errors were encountered: