Timeline for How to hide the Text Color icon from Visual Editor of WordPress Post Editor from Users other than Admins?
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Aug 4, 2019 at 13:52 | comment | added | Riya | So kind of you. Here's the screenshot of the button marked with red arrow ibb.co/fGNq20z and this is the code: <div id="mceu_13" class="mce-widget mce-btn mce-menubtn mce-last" tabindex="-1" aria-labelledby="mceu_13" role="button" aria-label="insert bloom Opt-In" aria-haspopup="true"><button id="mceu_13-open" role="presentation" type="button" tabindex="-1"><i class="mce-ico mce-i-et_bloom_shortcode_icon"></i> <i class="mce-caret"></i></button></div> | |
Aug 1, 2019 at 20:52 | comment | added | Louis S | I'm glad that helped. I've edited my answer to explain how to remove more than one button, but I'm not sure if that 'bloom' button is affected by the mce_buttons_2 hook. | |
Aug 1, 2019 at 20:48 | history | edited | Louis S | CC BY-SA 4.0 |
added 543 characters in body
|
Aug 1, 2019 at 15:36 | comment | added | Riya | Can this code be added to remove other buttons, for e.g: buttons with i class "mce-ico mce-i-et_bloom_shortcode_icon" ? | |
Aug 1, 2019 at 15:23 | history | edited | Louis S | CC BY-SA 4.0 |
deleted 16 characters in body
|
Aug 1, 2019 at 14:37 | comment | added | Riya | Thanks it worked | |
Aug 1, 2019 at 14:36 | vote | accept | Riya | ||
Jul 29, 2019 at 12:52 | history | edited | Louis S | CC BY-SA 4.0 |
added 132 characters in body
|
Jul 29, 2019 at 12:46 | history | answered | Louis S | CC BY-SA 4.0 |