Notifications
Clear all

wpForo 1.x.x Remove Text Editor Icons

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

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

4 Replies
Sofy
Posts: 4057
 Sofy
Admin
(@sofy)
Support Team
Joined: 5 years ago

Hi markpridham,

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

Reply
markpridham
Posts: 9
Topic starter
(@markpridham)
Eminent Member
Joined: 4 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.

Reply
Sofy
Posts: 4057
 Sofy
Admin
(@sofy)
Support Team
Joined: 5 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. 

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

Perfect. Thanks!

Reply
Share: