#34846: Add "Copy" button to the code snippets in docs.
-------------------------------------+-------------------------------------
Reporter: rushabhTt | Owner: Saarthak
Type: | Maini
Cleanup/optimization | Status: assigned
Component: Documentation | Version: 4.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Saarthak Maini):
* owner: nobody => Saarthak Maini
* status: new => assigned
* has_patch: 0 => 1
Comment:
I have created a Pull Request for this ticket.
Pull Request : https://github.com/django/django/pull/17292
I referenced the pull request (
https://github.com/django/django/pull/16342/ ) mentioned above in the
discussion.
I tested it and found that it was only working for text which was starting
with "$ " and not covering text starting with "...\>".
So, I used the regex to resolve the issue and made the copy functionality
available for both Linux/MacOS Option and Windows Option
--
Ticket URL: <https://code.djangoproject.com/ticket/34846#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/0107018ab44195ce-a159dc55-d383-40a9-9cef-948196c72cf6-000000%40eu-central-1.amazonses.com.