react-md-editor icon indicating copy to clipboard operation
react-md-editor copied to clipboard

Highlight active command

Open Fakh94 opened this issue 2 years ago • 5 comments

Is there a way to highlight the active command ?

Fakh94 avatar Aug 22 '22 13:08 Fakh94

I don't understand what it means, can you give an example? @Fakh94

jaywcjlove avatar Aug 22 '22 15:08 jaywcjlove

When you click for example on Italic command it's active so it will be highlighted like Italic icon in the image below Screenshot from 2022-08-22 17-13-03

Fakh94 avatar Aug 22 '22 15:08 Fakh94

image

It's character highlighted. You can modify its style.

@Fakh94

jaywcjlove avatar Aug 22 '22 15:08 jaywcjlove

@jaywcjlove in fact i don't want to highlight the markdown text but the command's Icon in the toolbar to have a background color when it's active like the grey background in the Italic Icon

Fakh94 avatar Aug 22 '22 15:08 Fakh94

I finally get what you mean, it's hard to implement this feature at the moment. @Fakh94

jaywcjlove avatar Aug 22 '22 15:08 jaywcjlove