Quickly copy code blocks in the Content Editor
What does this MR do and why?
Adds a copy button to the recently introduced code block bubble menu to allow easily copying code in a code block.
Related to #330627 (closed)
Screenshots or screen recordings
Screen_Recording_2022-04-20_at_1.18.43_AM
How to set up and validate locally
- Open any wiki page, and edit
- Insert a new code block
- Type in some code
- Click the "copy to clipboard" icon to copy the code
- Try pasting the code in the same code block
- It works!
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Himanshu Kapoor