-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
Logseq version: 0.10.13
Copy Code plugin version: 1.2.0
Steps to reproduce:
- Create a code block, containing for example:
import os
something = "old code"- Click the copy button on the block
- Establish that it copied correctly by pasting in another text editor
- Copy a random piece of text to the clipboard from anywhere, e.g. the text "some random stuff"
- Change the code block in logseq to, for example:
import os
something = "new code"- Click the copy button again
- Paste again in an external text editor
Observed behavior
The second click on the copy button did not copy anything to the clipboard. When pasting in the external editor (step 6), the text from step 4 appears ("some random stuff").
It appears, the copy button does not do anything, until after a restart of logseq.
Expected behavior
Clicking the copy button on the code block in logseq, should copy the current text in the code block to the clipboard at all times.
Metadata
Metadata
Assignees
Labels
No labels