I have done extended research and found the answer – I am now using a hook on ‘tiny_mce_before_init’.
Based on other answers (special thanks to answer #2 @Chip Bennett), I have used the following code in my functions.php to secure the paragraph breaks (in the editor HTML mode they show as   but become paragraphs on the front-end):
function tinymce_config_59772( $init ) {
// Don't remove line breaks
$init['remove_linebreaks'] = false;
// Convert newline characters to BR tags
$init['convert_newlines_to_brs'] = true;
// Do not remove redundant BR tags
$init['remove_redundant_brs'] = false;
// Pass $init back to WordPress
return $init;
}
add_filter('tiny_mce_before_init', 'tinymce_config_59772');
You can find on the tinyMCE site the different possible configurations.
Related Posts:
- Switch between Visual and HTML tab freely
- How to keep non-breaking spaces in the visual editor?
- Remove empty lines ( ) when author updates their post
- WordPress editor strips out anchor tags when they appear on their own line
- Preserving tabs and line breaks in when switching from HTML to Visual Editor
- Selectively remove empty line after line change
- Shift-Enter in tinyMCE (wp 3.3.1) not working
- Removing tags around tags
- TinyMCE – no auto formatting using the_editor()?
- tinymce and responsive line-breaks (short words after a period)
- Understanding automatic text formatting in the WordPress editor
- Prevent Black Studio TinyMCE from adding tags when switching from Visual to HTML mode
- Extra TinyMCE editor strips and tags?
- Creating a wp_editor instance with custom tinyMCE buttons
- Add popup window to TinyMCE buttons
- How to customize TinyMCE4 in WP 3.9 – the old way for styles and formats doesn’t work anymore
- TinyMCE editor is breaking my beautiful HTML
- Load wp_editor via ajax [duplicate]
- Why did multiple line breaks stop working in text editor?
- TinyMCE 4.x : How to customize toolbar on wp_editor()
- Replace Taxomony Description Field with Visual/WYSIWYG Editor
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- Unable to add “code” button to TinyMCE toolbar
- TinyMCE format dropdown no longer showing style previews
- Is it possible to re-use the image details popup?
- Visual Tab Missing From Editor
- How to use the new Dashicons for custom TinyMCE buttons?
- Wait for Gutenberg or built something in ACF?
- Replicating the_editor (Media Bar, TinyMCE, Visual/HTML Tabs) functionality without a huge rewrite
- “wp_editor” not displaying TinyMCE correctly when square brackets used in name
- Using a dashicon for a custom button in TinyMCE?
- How to disable TinyMCE 4 keyboard shortcuts
- Pasting code into pre-formatted text in Visual Editor not working in 3.3.1
- Tiny MCE not adding p tag when saving theme option
- How to add TinyMCE keyboard shortcut
- WordPress MultiSite Paste from Word Tool Does not work
- data-accordion removed in Visual Editor
- TinyMCE removes iframe attributes width and height
- Append Font Family in TinyMCE
- tinyMCE duplicates previous block element when pressing return (visual editor)
- WP 3.3 my rich text category editor toolbar is gone!
- WordPress visual editor broke due to non standard port?
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- Enable Visual Editor In Comments On CPT Edit Page
- TinyMCE is broken
- WordPress blockquote removes “ tag
- Added custom styles to Visual Editor. Classes are appended and not replaced as intended
- TinyMCE – Add button that changes direction of selected text
- Is there a way to remove the default css from TinyMCE?
- TinyMCE Visual Blocks plugin set Show blocks option for all users
- Gutenberg; Rich Text/HTML for Metadata Textarea Control in Back End
- Add a TinyMCE Core Plugin Using tiny_mce_before_init
- Fontawesome icon vanishes in editor while switching text and visual mode
- wordpress qtranslate editor text is not working [closed]
- create a front end post page template withTinyMCE,
- How does WordPress remember which editor is being used?
- Add buttons to the new TinyMCE WP Editor. Javascript API
- Open Insert/edit link popup
- How to dynamically generate wordpress editor on frontend?
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- tinyMCE 4.0 custom button onclick no longer working
- TinyMCE strips breaks inside editor
- How to add Listbox / Select dropdown for shortcodes in WP 3.9 beta2 using TinyMCE?
- Using spellchecker plugin in TinyMCE
- wp_editor not modify html tags of initial content
- Stop TinyMCE from deleting empty HTML tags
- Custom TinyMCE Editor Formats in Dropdown
- Why is the media upload button not in the main toolbar & can it be placed there instead?
- wp_editor – Media uploader button to tinymce
- Editor html formatting is different from view source
- WordPress no longer holding post formatting
- HTML formatting issues when switching between editor tabs
- Stop editor from adding “amp;” after every “&”
- Visual composer causing conflict with TinyMCE [closed]
- Overriding TinyMCE buttons – Justify button shortcodes not working
- WP Editor: Keep Bold, Underline, etc. but ignore color
- TinyMCE 4 & wp_editor multiple editor issue
- TinyMCE Advances is removing blanks (” “)
- How to remove buttons from tinyMCE in wp_editor added via AJAX
- enable TinyMCE for comment forms
- TinyMCE – Insert media at the beginning of post
- TinyMCE invalid nested list markup
- Unable to save Theme Options when TinyMCE is enabled for the text area
- Adding a Media Button to the WordPress Content Editor
- Error in backend: Failed to load plugin: tabfocus from url
- How can I change TinyMCE’s default block format?
- Adding a class to custom TinyMCE button using WPLinks dialog box
- Remove MS Word comments from pasted text
- How to force wp excerpt to use br tag?
- How to have html in TinyMce “Text” tab properly indented and highlighted
- TinyMCE adds a after a HR
- How to remove “justifyfull” in TinyMCE
- TinyMCE errors after 3.7.1 to 3.9.1 upgrade
- Localize tinymce in WordPress 3.9?
- Get the More QuickTag button back
- Preventing tinyMCE from auto formatting selected blocks of content
- How to insert image from link in TinyMCE
- Tinymce broken after update
- get backend to front end
- Why did my get mangled, and how can I keep from happening again?