You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The queryCommandValue doesn't work with firefox (at least version 75.0 (64-bit) on linux). It always returns 'transparent'. So button color is not updated according to the backgroung color of the selected text.
It seems to be a issue with firefox for a long time.
Regards.
The text was updated successfully, but these errors were encountered:
I think it's not really bad to let the code as is. Finally, it works. But if one day firefox fix the bug ... or try another solution : with getSelection and css style. I found some workaround like that.
Hello,
The queryCommandValue doesn't work with firefox (at least version 75.0 (64-bit) on linux). It always returns 'transparent'. So button color is not updated according to the backgroung color of the selected text.
It seems to be a issue with firefox for a long time.
Regards.
The text was updated successfully, but these errors were encountered: