Skip Navigation

[Resolved] removing Toolset Fields and Views and Forms buttons from CRED text field editor

This thread is resolved. Here is a description of the problem and solution.

Problem:

Remove Toolset Fields and Views and Forms buttons from CRED text field editor.

Solution:

There isn't such kind of feature within Toolset Forms plugin, you might consider custom codes, for example, use CSS codes to hide those buttons:

https://toolset.com/forums/topic/removing-toolset-fields-and-views-and-forms-buttons-from-cred-text-field-editor/#post-1361759

Relevant Documentation:

https://codex.wordpress.org/Plugin_API/Action_Reference/admin_enqueue_scripts

This support ticket is created 5 years, 1 month ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by martinE-4 5 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1361701

Tell us what you are trying to do?
remove Toolset Fields and Views and Forms buttons from CRED text field editor. Don't want to see it in the TinyMCE editor toolbar (I'm running TinyMCE advanced plugin too).

Is there any documentation that you are following?
can't find any

Sorry to bother you on such a trivial issue. I've spent an hour trying to figure it out. Weirdly I seem to have succeeded on one site I have but on another I can't figure it out. Sorry...

#1361759

Hello,

There isn't such kind of feature within Toolset Forms plugin, you might consider custom codes, for example, use CSS codes to hide those buttons:
1) Register a CSS file in WordPress admin side:
https://codex.wordpress.org/Plugin_API/Action_Reference/admin_enqueue_scripts

2) In the CSS file, setup CSS codes to hide those specific buttons:

div.cred-editor-toolbar button.js-wpv-fields-and-views-in-toolbar{
display:none;
}
#1362153

My issue is resolved now. Thank you! - CSS is such a simple solution!