Filter: bricks/form/tinymce_settings
Filters the TinyMCE configuration settings for “Rich Text” fields in Bricks forms. This allows you to customize the toolbar, menus, and other editor options.
Parameters
Section titled “Parameters”$settings(array): Array of TinyMCE settings.
Example usage
Section titled “Example usage”add_filter( 'bricks/form/tinymce_settings', function( $settings ) { // Example: Disable the menubar $settings['menubar'] = false;
// Example: Simplify the toolbar $settings['toolbar'] = 'bold italic underline | bullist numlist | link unlink';
return $settings;} );Was this helpful?
A quick vote and short notes help us improve these docs faster.
Leave a note for us
Thanks for sharing feedback. We're using it to improve these docs.