Missing copy button for codeblock in edit mode, when the page only has 1 code block

This happens because the cursor starts inside the codeblock, so you won’t see the copy button on opening.

Then there is this bug: