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

Firefox won't allow copy/pasting of sections of code snippets #5016

Open
jacksorjacksor opened this issue Mar 9, 2023 · 5 comments
Open
Labels
category/platform This Issue/PR is related to functionality on the GitBook platform

Comments

@jacksorjacksor
Copy link
Contributor

What type of issue is it? (Choose one - delete the others)

Other - using the documentation

What article/section is this about?

All

Describe the issue

Using Firefox, I can't copy/paste multiple line sections of code snippets - when I paste, only the top line of my selection is pasted.

This is only an issue on Firefox - using other browsers (i.e. Edge/Chrome) works just fine

@sofietoft
Copy link
Contributor

Thanks for reporting this @jacksorjacksor ! 💪

I've escalated the issue to GitBook.

@sofietoft sofietoft added the category/platform This Issue/PR is related to functionality on the GitBook platform label Mar 9, 2023
@alina-tincas
Copy link
Contributor

Hi @jacksorjacksor! I have reached out to Gitbook support about this and they are aware of this issue and are currently tracking and looking into it.

Until there is a resolution to this, the workaround they recommend in this case is to use the "Copy" button 👍:
image

@jacksorjacksor
Copy link
Contributor Author

Hi! @alina-tincas - thanks for that!

Yep, thanks for confirming the "Copy all" functionality works in Firefox, let me know if GitBooks are able to resolve the "sections" of code.

One thing to highlight is that code blocks with this formatting can have sections specifically copied/pasted...:
https://our.umbraco.com/Documentation/Add-ons/Umbraco-Deploy/Installing-Deploy/CICD-Pipeline/ci-cd-azure-dev-ops

...but code blocks with this formatting do not work:
https://docs.umbraco.com/umbraco-cms/fundamentals/setup/install/iis

@liamlaverty
Copy link
Contributor

I've submitted this bug to Mozilla as it looked like something they'd like to know about. They might pick it up and fix it in Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1875035

@alina-tincas
Copy link
Contributor

That's awesome, thank you @liamlaverty #h5YR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category/platform This Issue/PR is related to functionality on the GitBook platform
Projects
None yet
Development

No branches or pull requests

4 participants