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

Drop v-clipboard in favor of native browser API #1478

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Conversation

susnux
Copy link
Collaborator

@susnux susnux commented Feb 2, 2023

v-clipboard does not work for copying the embedding code in #1353 thats why I switch to vue-clipboard2.
But both packages are quite buggy or outdated.

So instead of using a package for this, we should use the browser clipboard API, similar to the server which is switching to that API too: nextcloud/server#36450

I think I separate this part from the embedding PR, to reduce its size and having you only to review small chunks at once.

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
@susnux susnux added enhancement New feature or request javascript Javascript related ticket 3. to review Waiting for reviews labels Feb 2, 2023
Copy link
Member

@jotoeri jotoeri left a comment

Choose a reason for hiding this comment

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

Much better 👍

@susnux susnux merged commit 742c347 into main Feb 2, 2023
@susnux susnux deleted the enh/drop-v-clipboard branch February 2, 2023 16:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement New feature or request javascript Javascript related ticket
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants