This question has already been answered:
- Copy selected text to clipboard? 1 reply
There is a button and a field below it with automatically generated code. By clicking on this button or on the field, the code in the field should be copied to the clipboard. Information in the field should not be editable. How is such a block implemented, is it in the bootstrap (I could not find it myself, although it is used very often on the site itself)?
