If I remember correctly, this should remove the toolbars on the tinyMCE:
function my_format_TinyMCE( $in ) {
$in['toolbar1'] = '';
$in['toolbar2'] = '';
$in['toolbar'] = false;
return $in;
}
add_filter( 'tiny_mce_before_init', 'my_format_TinyMCE' );
References:
https://codex.wordpress.org/TinyMCE
http://www.tinymce.com/wiki.php/Configuration
For the wp_editor, try applying these filter parameters onto your wp_editor() function.
Hope it helps.
** Edit
Also if that ['toolbar'] = false;
still prevents you from uploading galleries, you could just try this instead:
$in['toolbar1'] = 'undo,redo';
$in['toolbar2'] = '';
(Just add a couple of buttons like undo and redo to the top toolbar and remove the second). I’ve just tested this and it works with adding galleries.
Related Posts:
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- Creating a wp_editor instance with custom tinyMCE buttons
- How to load wp_editor via AJAX
- Remove HTML editor and visual/HTML tabs from TinyMCE
- How to get the input of a TinyMCE editor when using on the front-end?
- Creating a photo gallery in WordPress [closed]
- How can I alter the [gallery] markup?
- Load wp_editor via ajax [duplicate]
- Custom wordpress gallery option
- Make a really simple gallery structure
- Best approach when modifying the Media Manager
- TinyMCE 4.x : How to customize toolbar on wp_editor()
- Gallery Inside One Post
- How do i add class=”fancybox” to the default gallery?
- How to show description under an inserted image?
- Modifying the media-template.php file, the right way?
- How to use the new Dashicons for custom TinyMCE buttons?
- Add unique class or ID information to tinyMCE
- TinyMCE Anchor Button not showing
- Responsive Images
- First three images in post excerpt
- Load tinyMCE / wp_editor() via AJAX [duplicate]
- Detect a focus on wp_editor
- how do i create a downloadable gallery with image descriptions?
- “wp_editor” not displaying TinyMCE correctly when square brackets used in name
- Secure Validation of wp_editor in Theme Options
- Set default link type to “file” for image galleries
- Add option to “Gallery Settings” section
- How I can get image description/title/alt for gallery image?
- Tiny MCE not adding p tag when saving theme option
- Disable TinyMCE Drag and Drop
- Images Missing from built in WP Gallery
- How can I remove or change a border/outline on a picture when it is in a gallery page?
- TinyMCE style_select – Append Classes
- TinyMCE Editor Set Default Tab
- Registering custom TinyMCE buttons, for admin area, to work with custom instances of wp_editor
- Add size in Gallery Settings in Media Library
- Post photo galleries [closed]
- Remove quicktag buttons but not Visual / Text editor and tabs
- Define size for `get_post_gallery_images`, they seem to have been resized to 150×150
- Proper Way to Remove Thumbnail Links In Gallery
- Media gallery – inserting full size images without link
- TinyMCE editor – new lines not rendered on front end
- How to prevent tinymce macro from inserting nbsp;?
- How to get WP editors tinyMCE instances
- wp_editor in add_meta_boxes does not show gallery
- Disable Linked Gallery Images If Mobile Browser
- Possible to add same caption to all photos in a gallery?
- How to Add a Custom Colum on Thickbox Media Gallery Tab?
- WordPress 3.5 Gallery Menu Order not set?
- Getting the image title/alt attribute from the gallery shortcode
- How to get post attachments in gallery post format template
- Can I attach an image to a different post?
- Using multiple instances of wp_editor in Custom Post Type admin area
- help on wp_editor via ajax load [duplicate]
- NextGen – Display Image Count Per Gallery
- Add a checkbox in Media Upload window
- have WP Gallery display the title instead of caption
- Changing Gallery images size?
- How do I use two different images, one as a thumbnail and one as a linked image?
- remove featured image from gallery woocommerce [closed]
- How to get ID of images used in gallery?
- Add data attribute to a gallery link?
- TinyMCE strips line breaks on mceAddControl
- Display all albums in nggallery on a page [closed]
- How can I show these pictures in two columns in my page?
- Count Words using tinymce in the front-end
- What is a good way to implement photo galleries on WordPress?
- tinyMCE.activeEditor = null WP editor loaded in ‘Text’ mode?
- Display latest 10 galleries
- How to determine if a post has attached images?
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- How can I make wp default gallery responsive?
- How to get clean code for a gallery?
- Gallery set to “Media file”, showing as attachment page
- show other images from same gallery
- Change Default Font Size and Remove Unwanted Font Sizes in TinyMCE
- how do i embed the pdf gallery in wordpress post
- all tincymce’s switch when updating page after changing from html to text in custom metabox
- Attach custom gallery to a page
- Gallery Only Displaying One Thumbnail
- TinyMCE Plugin Parameter
- How To Put Multiple Image Galleries In A Single Post?
- wpeditor issue – shows both mode and not able to focus/edit during visual mode
- Add new images to top of existing gallery not bottom
- wp_editor on input changes content
- Disable HTML (Text) Tab in Post Editor
- Insert wp_editor on front-end with AJAX?
- WordPress gallery not sorting the images if I change the order of image ids
- WordPress grab first image from gallery
- GalleryView binding for WP Gallery, without NextGen
- Limit Block format tags in WordPress wp_editor
- How can I create a gallery showing Ken Burns effect, when mouse hovers over images? [closed]
- Set default number of columns in gallery
- ACF gallery hook?
- Make TinyMCE checkbox that returns a value instead of true/false
- How to remove the statusbar from the default wordpress editor?
- Convert textarea with wp_editor
- TinyMCE as comment editor – encoding issues
- wp.editor.initialize does not show the same default toolbar