Request: Allow selection of the text in a code-block in the RTE editor without double clicking

Right now if you create a code-block, it creates a block level element that disallows selecting the contents unless you double click on the element and copy the code. I know there is a plugin that adds a "Copy Text" icon, but it would be great if there was a configuration option that would just allow us to select the text inside a code-block just like any other text.

Thanks for any consideration.

1 Like

Here's a code-block


In order to select the text we need to double-click on the code-block or to do a right click and select the "edit" command.

At this point the original window (creation of the code) of the code-block appears


And only now we can select the text by clicking inside and select it with mouse or narrow keys.

So it's true : it's a lot of maneuvers for nothing...

A way to select directly the text would be great...

BUT... The interest of the block code format
image
is maybe precisely to protect the text from being erased or modified by mistake by a simple selection. Otherwise there's not much utility to the "code" formatting... So the opportunity or not to select immediately the text of a block code should be an option to check and not something permanent...
By the way the inline code allows the direct selection...
image