Notifications
Clear all

wpForo 1.x.x [Closed] Remove Text Editor Icons

5 Posts
2 Users
0 Likes
1,996 Views
Posts: 9
Topic starter
(@markpridham)
Eminent Member
Joined: 6 years ago

Is there a way to remove icons from the text editor?

4 Replies
Sofy
Posts: 4323
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

Hi markpridham,

I'm sorry, but I don't follow you. Please explain using some screenshots.

Posts: 9
Topic starter
(@markpridham)
Eminent Member
Joined: 6 years ago

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.

Sofy
Posts: 4323
 Sofy
Admin
(@sofy)
Support Team
Joined: 6 years ago

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. 

Posts: 9
Topic starter
(@markpridham)
Eminent Member
Joined: 6 years ago

Perfect. Thanks!