Just add this code to functions.php
of your theme and then “View” –> “Show blocks” will always be enabled immediately when the page loads
if( !function_exists('custom_settings_tinymce') ){
function custom_settings_tinymce($init) {
$init['visualblocks_default_state'] = true;
return $init;
}
add_filter('tiny_mce_before_init', 'custom_settings_tinymce' );
}
Related Posts:
- TinyMCE Anchor Button not showing
- Add Shortcode inline inside Gutenberg block
- Customising the WordPress TinyMce editor and it’s buttons
- TinyMce in WordPress – Getting the “fullscreen” button to stay on the right when customising button layout
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- Customer Support: TinyMCE stopped working (on some computers)
- How to modify VisualComposer’s TinyMCE editor only for a specific shortcode
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- Add popup window to TinyMCE buttons
- TinyMCE editor is breaking my beautiful HTML
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- How i can i add a split button or list box to the WordPress TinyMCE instance
- wp_editor disable after reaching character count limit
- Is it possible to create nested lists in the WYSIWYG editor?
- How to keep non-breaking spaces in the visual editor?
- Is there a way to prevent the Editor from modifying my HTML
- How to disable TinyMCE 4 keyboard shortcuts
- How to customize the symbols that appear in the Visual Editor insert custom character
- Pasting code into pre-formatted text in Visual Editor not working in 3.3.1
- Registering custom TinyMCE buttons, for admin area, to work with custom instances of wp_editor
- Using post ID in custom tinyMCE button
- How to make WordPress and TinyMCE accept tags wrapping block-level elements as allowed in HTML5?
- Visual Editor freezing on text highlight since 4.3
- tinyMCE duplicates previous block element when pressing return (visual editor)
- WordPress visual editor broke due to non standard port?
- Add Item to Custom TinyMCE Menu
- Deprecated TinyMCE API call: windowManager.createInstance(..)
- Enable Visual Editor In Comments On CPT Edit Page
- Text cut off after the character 𪇆 in TinyMCE
- wordpress 3.5 tinymce height
- Adding image to visual editor popup for shortcode with wp.media and wp.mce: changing image duplicates shortcode
- Change Default Font Size and Remove Unwanted Font Sizes in TinyMCE
- How can I control the HTML output of my post?
- TinyMCE Plugin Parameter
- Added custom styles to Visual Editor. Classes are appended and not replaced as intended
- TinyMCE – Add button that changes direction of selected text
- Close TinyMCE plugin window on click away
- Preserving tabs and line breaks in when switching from HTML to Visual Editor
- Add a select a class dropdown in tinymce
- How to disable formatting
- Add table button in editor without Plugin
- Make Textarea a TinyMCE (editor box)
- How to get line breaks to translate to paragraphs?
- TinyMCE Editor change underline button behavior – u tag instead of span text-decoration underline
- Custom TinyMCE style formats disabled
- TinyMCE custom plugin, how to make a word automatically selected based on current cursor position?
- Visual editor not showing all table rows
- Is it possible to disable the image alignment options in the post editor?
- Open Insert/edit link popup
- Change syntax styling of TinyMCE HTML Text Editor
- customize tiny MCE blockqute
- Keyup events in tinymce editor not working
- Front-end image upload from TinyME [closed]
- How to force insertion in editor
- How to disable TinyMce’s Paste plugin from turning image URLs into embedded ?
- Stop editor from adding “amp;” after every “&”
- Visual Editor is blank – 404 for plugin js
- Visual composer causing conflict with TinyMCE [closed]
- TinyMCE: Move buttons from 2nd row to top row
- TinyMCE Advances is removing blanks (” “)
- enable TinyMCE for comment forms
- Best Browser for Editing Posts
- TinyMCE strips off the href tag inside span, if i change from text to visual
- Adding a Media Button to the WordPress Content Editor
- clasic editor – article categories customization?
- How can I change TinyMCE’s default block format?
- Load WordPress Editor .css on Front End
- “Formats” Select Menu in WP Editor doesn’t show up with correct colour
- How to force wp excerpt to use br tag?
- Adding microdata using Structured Data Markup Helper HTML
- mce_external_languages: how does it really work?
- tinymce modal and I18n strings methods
- Get the More QuickTag button back
- prevent caching during tinymce custom button development
- Preventing tinyMCE from auto formatting selected blocks of content
- Add custom classes to TinyMCE generated markup
- wp_insert_post() dont post content like i need it :(
- install tinymce plugin [closed]
- WordPress Started Executing Code Inside PRE Tags Even They Are Properly Escaped
- How do I include a TinyMCE editor in the frontend?
- Switch between Visual and HTML tab freely
- Add custom TinyMCE 4 Button, Usable since WordPress 3.9-beta1
- Creating a wp_editor instance with custom tinyMCE buttons
- How to add custom CSS (theme option) to TinyMCE?
- How to add “Insert/Edit link” button in custom popup tinymce window?
- Remove HTML editor and visual/HTML tabs from TinyMCE
- How to disable TinyMCE from removing span tags
- WordPress automatically adding ” “?
- Forcing reload of editor-style.css
- How to customize TinyMCE4 in WP 3.9 – the old way for styles and formats doesn’t work anymore
- Can you add the visual editor to the description field for custom taxonomies?
- WordPress Visual Editor Stripping HTML Changes
- How to get the input of a TinyMCE editor when using on the front-end?
- Removing buttons from the editor
- Load wp_editor via ajax [duplicate]
- Enqueue Script After TinyMCE initialized
- How to use tinyMCE for user “biographical info”?
- Why did multiple line breaks stop working in text editor?
- TinyMCE 4.x : How to customize toolbar on wp_editor()
- TinyMCE Advanced newline problem