How-to and Troubleshooting
5
Posts
2
Users
0
Reactions
2,199
Views
Jul 05, 2018 11:10 am
Is there a way to remove icons from the text editor?
4 Replies
Jul 05, 2018 11:21 am
Hi markpridham,
I'm sorry, but I don't follow you. Please explain using some screenshots.
Jul 05, 2018 11:26 am
Hi,
I would like to limit the amount of formatting that the user can use. For instance, I would like to remove the "code" and "source code" icons.
Jul 05, 2018 11:39 am
Hi markpridham,
There is no such option for disabling each icon. You need to use custom CSS code.
For instance, I would like to remove the "code" and "source code" icons.
In this case, you should use the following CSS code. Put it in Dashboard > Forums > Settings > Styles > "Custom CSS Code" textarea.
#wpforo #wpforo-wrap .mce-toolbar .mce-btn button i.mce-i-code{
display: none;
}
#wpforo #wpforo-wrap .mce-toolbar .mce-btn button i.mce-i-codesample{
display: none;
}
Don't forget to delete all caches and do CTRL + F5 on the frontend before checking.
Jul 05, 2018 11:41 am
Perfect. Thanks!