Code Block issues

Code Block issues

#57Bug

Hi.

  1. Selected text is not clear/visible - both in light and dark mode.

image

In the above screenshot, CSS Editor is selected.

  1. Copy to clipboard would be useful for code blocks.

  2. Text copied from the code block and pasted in other places like X is not retaining the line breaks.

image

Hi Sridhar,

Thank you for the detailed report and screenshots.

For selected text inside code blocks, it seems that a previous UI refactor changed the drawing order, so the selection highlight is now drawn behind the code block background.

There is also a copy icon in the top-right corner for copying the block contents, but it has become too subtle and difficult to see.

I’ll fix these issues and check the line breaks when copying code to other apps as well.

Thank you again for the report.

Delete post

The post body and edit history will be removed. A quiet marker remains only when visible replies link to this post.

Open original