cancel
Showing results for 
Search instead for 
Did you mean: 

Copy to Clipboard obscures code

TDK
Guru

The "Copy to Clipboard" button is good to have, I guess, but in its current implementation you can't see what code is behind the button. Make it smaller, make it stay in the same position on a scroll, or something else so text can be seen.

TDK_0-1706498163358.png

 

In contrast, the View More button is a great addition. More good features like that please.

If you feel a post has answered your question, please click "Accept as Solution".
1 ACCEPTED SOLUTION

Accepted Solutions

Hi again,

The clipboard button is now placed above the first line and has been replaced by an interactive logo. It's also no longer obstructing code in mobile view.

For reference:

/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "usbd_core.h"
#include "usbd_cdc.h" /* Include class header file */

 
Best regards, 
Laurids

View solution in original post

4 REPLIES 4
TDK
Guru

More examples of copy to clipboard being a net-negative. Copy/paste worked before, button wasn't really necessary. Most people aren't copying/pasting the code.

TDK_0-1706499383081.png

 

If you feel a post has answered your question, please click "Accept as Solution".

Completely gets in the way on the phone browser. Anyone test or review this change?

If it needs the message / button, make it very small or as a mouse-over. It's completely obnoxious as currently implemented, needs a rethink.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Laurids_PETERSEN
Community manager
Community manager

Hi @TDK and @Tesla DeLorean,

Thanks for providing your feedback on this component.
Your points are clear and valid, and we agree that a change is required.

I will reach out internally and find a solution that keeps the feature enabled, but makes it less intrusive to the actual code in the block. Your solution proposals are acknowledged in this context, thanks for providing those as well.

Best regards,
Laurids




Hi again,

The clipboard button is now placed above the first line and has been replaced by an interactive logo. It's also no longer obstructing code in mobile view.

For reference:

/* Includes ------------------------------------------------------------------*/
#include "main.h"
#include "usbd_core.h"
#include "usbd_cdc.h" /* Include class header file */

 
Best regards, 
Laurids