v
v copied to clipboard
Can not copy from the code block for V
Describe the issue
Hello contributors,
I am reading https://docs.vlang.io/.
I realized that Copy item did not exist in the context menu when I pressed right mouse button after selecting some string on the V code block. Worse still, Ctrl + C does not work.
This behavior is reproduced on Brave / Chrome (screenshot below).
On Firefox, the Copy item does exist on the context menu but not seem to send to clipboard when I choose it.
It does not cause this issue for bash code block such as https://docs.vlang.io/installing-v-from-source.html.
I would appreciate if this report could help you.
Thanks for the great document and the great programing language V.
Links
https://docs.vlang.io/v-types.html#fixed-size-arrays
[!NOTE] You can use the 👍 reaction to increase the issue's priority for developers.
Please note that only the 👍 reaction to the issue itself counts as a vote. Other reactions and those to comments will not be taken into account.
At first glance this looks like an issue with CodeMirror. Doing some initial research - this could be a ref. that might help to solve it: https://github.com/codemirror/codemirror5/commit/4e0d4232c1683925f6b07f53b930c854449cb201
It failed for me with latest Firefox on Ubuntu too.