# Extend Copy To Clipboard functionality

**URL:** https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666
**Category:** Development
**Created:** [24 August 2020 14:29 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666 "2020-08-24T14:29:10Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![PackElend](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/packelend/32/488_2.png) [@PackElend](https://discourse.joplinapp.org/u/PackElend)
#### Post date: [24 August 2020 14:29 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/1 "2020-08-24T14:29:10Z")

</div>

Hi @ishantgupta777,  
so I haven't been struck down by too many tasks recently.  
Eventually, he is the first to-do topic we talked about.  
I think this relatively easy as it has been already worked on.  
Here are the PRs

> <https://github.com/laurent22/joplin/pull/2426>
>
> \### SCREENSHOT SHOWING THE BUTTON STYLE
> !\[copy-paste-joplin\](https://user-image…s.githubusercontent.com/35904727/74378445-442f7880-4de6-11ea-8a37-6ee9edb6ff22.PNG)
> 
> \### TEST CASES
> \- Try with a code block - button appears
> \- Try with an inline code block - no button
> \- Try with a Fountain block - no button
> \- Try with a Katex block - no button
> \- Try with Katex inline code - no button
> \- Try with unformatted text (indented) that contains code - no button

> <https://github.com/laurent22/joplin/pull/3024#event-3335607422>
>
> fixes: #2383 
> 
> \# Changes
> 
> !\[copy-to-clipboard\](https://user-images.githubuse…rcontent.com/54576074/79045616-b4614b80-7c29-11ea-960d-ea828c0aad35.gif)
> 
> Added copy to clipboard functionality for fences-code block
> 
> Note: I only tested this on the desktop app I did not test to for mobile.
> 
> TODOS:
> \- correcting the unit test case
> \- ~~improving the regex used to replace the pre tag (it is not accurate for cases having multiple lines right now )~~
> \- 🐞 : the button moves to the left when there is an option to scroll horizontally
> 
> I will make the changes and update this as soon as possible

and here is some other input

> [@Styling copy-to-clipboard button](https://discourse.joplinapp.org/t/styling-copy-to-clipboard-button/7823):
>
> I would like to know if the button should be styled in some other way Current behaviour some other design I found on the web feedback is highly appreciated!

I think it is good chance to accustom to each other again 🙂

---

<div class="post-metadata">

### Author: ![ishantgupta777](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ishantgupta777/32/2909_2.png) [@ishantgupta777](https://discourse.joplinapp.org/u/ishantgupta777)
#### Post date: [6 September 2020 19:10 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/2 "2020-09-06T19:10:38Z")

</div>

Thanks Sir, I’ll go through all the PR’s and the issues. and then will start working on it.

---

<div class="post-metadata">

### Author: ![PackElend](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/packelend/32/488_2.png) [@PackElend](https://discourse.joplinapp.org/u/PackElend)
#### Post date: [6 September 2020 20:34 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/3 "2020-09-06T20:34:33Z")

</div>

great 😃

I know that situation is not easy at your place, so could you share your thoughts how much time you would spend on it to avoid to raise wrong expectation

---

<div class="post-metadata">

### Author: ![ishantgupta777](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ishantgupta777/32/2909_2.png) [@ishantgupta777](https://discourse.joplinapp.org/u/ishantgupta777)
#### Post date: [6 September 2020 21:06 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/4 "2020-09-06T21:06:57Z")

</div>

Sir I’ll try to give around 10 hours each week. And more if everything goes fine.

---

<div class="post-metadata">

### Author: ![PackElend](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/packelend/32/488_2.png) [@PackElend](https://discourse.joplinapp.org/u/PackElend)
#### Post date: [7 September 2020 07:22 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/5 "2020-09-07T07:22:06Z")

</div>

good news, try what you can do. When get into the flow things become easier 💪  
If you need a break take it, just keep us posted

---

<div class="post-metadata">

### Author: ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)
#### Post date: [7 September 2020 12:53 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/6 "2020-09-07T12:53:50Z")

</div>

Keep in mind that at least for now the development is focused on:

- Fixing the 31 high priority bugs - [https://github.com/laurent22/joplin/issues?utf8=✓&q=is%3Aopen+is%3Aissue+label%3Abug+label%3Ahigh](https://github.com/laurent22/joplin/issues?utf8=%E2%9C%93&q=is%3Aopen+is%3Aissue+label%3Abug+label%3Ahigh)
- Implementing and releasing the roadmap - [Roadmap](https://discourse.joplinapp.org/t/roadmap/10897)

What it means is that I don’t know when (if ever) I’ll be able to review pull requests for new features. I prefer to be clear about it so as not to give incorrect expectations.

---

<div class="post-metadata">

### Author: ![ishantgupta777](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/ishantgupta777/32/2909_2.png) [@ishantgupta777](https://discourse.joplinapp.org/u/ishantgupta777)
#### Post date: [12 September 2020 11:27 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/7 "2020-09-12T11:27:06Z")

</div>

Sir, I got an internship. I’ll be working on making a startup from scratch for the new one-two months. I’m just getting started, so I’m not sure about my timings. Just letting you know so that you’re aware of what I’m doing. I’ll update you once things get clear.

---

<div class="post-metadata">

### Author: ![PackElend](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/packelend/32/488_2.png) [@PackElend](https://discourse.joplinapp.org/u/PackElend)
#### Post date: [28 October 2020 09:02 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/8 "2020-10-28T09:02:02Z")

</div>

> [@ishantgupta777](#):
>
> I’ll update you once things get clear.

Hi @ishantgupta777,  
are you still around?

---

<div class="post-metadata">

### Author: ![mschindl](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/mschindl/32/5286_2.png) [@mschindl](https://discourse.joplinapp.org/u/mschindl)
#### Post date: [29 October 2020 13:29 UTC](https://discourse.joplinapp.org/t/extend-copy-to-clipboard-functionality/10666/9 "2020-10-29T13:29:08Z")

</div>

Would this request also allow to copy tables to clipboard?  
Workflow: Copy Table and paste it in macOS Notes or Mail or somewhere else
