You can disable the visual editor entirely in your profile settings. If you need to disable it on a per page basis, take a look at this answer.
Using text mode may not solve the empty paragraph problem, the wpautop filter is applied to the content regardless of how the content is edited. You can remove the filter, but then you’ll have to manually break and paragraph your content.
remove_filter( 'the_content', 'wpautop' );
remove_filter( 'the_excerpt', 'wpautop' );
Alternatively, you can use a filter to strip out any empty paragraphs when displaying your content:
https://gist.github.com/ninnypants/1668216
Regarding the issue with the anchors, I haven’t had this particular issue with the editor. In general, if I am writing a lot of HTML in a post I like to use a “raw html” plugin. For example: https://wordpress.org/plugins/preserved-html-editor-markup-plus/
Related Posts:
- How can a TinyMCE modal return formatted/visual text?
- Adding a Media Button to the WordPress Content Editor
- Why did multiple line breaks stop working in text editor?
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- When switching from html to visual editor the tag gets corrupted
- Markup of oEmbed codes in the editor?
- How can I stop TinyMCE from converting my HTML entities to characters?
- Add Shortcode inline inside Gutenberg block
- data-accordion removed in Visual Editor
- How to make WordPress and TinyMCE accept tags wrapping block-level elements as allowed in HTML5?
- TinyMCE editor – new lines not rendered on front end
- WP 3.3 my rich text category editor toolbar is gone!
- Add table controls with wp_editor minimal editor configuration (‘teeny’)
- How can I control the HTML output of my post?
- TinyMCE Plugin Parameter
- unwanted and tags in text editor
- Preserving tabs and line breaks in when switching from HTML to Visual Editor
- Add table button in editor without Plugin
- Custom settings page TinyMce: no formatting when echoing value of editor
- Our shortcode dropdown box in Tinymce is not working in WordPress 3.9?
- Gutenberg; Rich Text/HTML for Metadata Textarea Control in Back End
- Selectively remove empty line after line change
- Custom TinyMCE style formats disabled
- Prevent the Editor From Moving My
- Add buttons to the new TinyMCE WP Editor. Javascript API
- Is it possible to disable the image alignment options in the post editor?
- Disable TinyMCE Table formatting width/height
- How to dynamically generate wordpress editor on frontend?
- Change syntax styling of TinyMCE HTML Text Editor
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- How can I make the page editor trust me?
- Why is the media upload button not in the main toolbar & can it be placed there instead?
- Adding CSS to admin TinyMCE editor for custom button
- HTML formatting issues when switching between editor tabs
- Why exactly does WordPress use p tags, not divs?
- Visual composer causing conflict with TinyMCE [closed]
- Allowing style tag in TinyMCE editor
- TinyMCE Advances is removing blanks (” “)
- Why Editor reformats my code
- 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
- Wordpres Tinymce custom button (Gavick guide)
- Error in backend: Failed to load plugin: tabfocus from url
- Preserve indentation, HTML5 shorthand in editor
- `tinyMCE is not defined` after migrating site to server
- Custom shortcode editor [BackboneJS & TinyMCE)
- WYSIWYG with HTML source?
- How do I separate my theme’s styles from editor styles?
- Problem with Line spacing in wysiwyg editor in WP 3.5.1
- 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
- Load wp_editor via ajax [duplicate]
- TinyMCE 4.x : How to customize toolbar on wp_editor()
- Cite-Tag for blockquotes
- Disable text tab on WordPress text-editor
- Integrating inline tinymce editor in a component for a gutenberg block
- two tinyMCE editors in the same page
- WordPress visual editor broke due to non standard port?
- TinyMCE is broken
- Insert shortcode in post editor from javascript (Visual / HTML)
- in network setup super admin has the tinyMCE buttons and the regular admin has not
- Is there a way to remove the default css from TinyMCE?
- TinyMCE Visual Blocks plugin set Show blocks option for all users
- wordpress qtranslate editor text is not working [closed]
- create a front end post page template withTinyMCE,
- Visual editor issue by having multiple tiny mce editors in a CPT
- Open Insert/edit link popup
- 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
- Change default italic from to in admin editor
- Overriding TinyMCE buttons – Justify button shortcodes not working
- WP Editor: Keep Bold, Underline, etc. but ignore color
- TinyMCE 4 & wp_editor multiple editor issue
- Edit box scrolls back to the top after updating post
- How to remove buttons from tinyMCE in wp_editor added via AJAX
- TinyMCE invalid nested list markup
- Unable to save Theme Options when TinyMCE is enabled for the text area
- Plugin for visitors to edit content without logging in? [closed]
- Using wp_editor() when not logged stopped working
- How can I change TinyMCE’s default block format?
- Is it possible to remove the content editor (RTF field) for a certain user / role?
- Remove MS Word comments from pasted text
- How to have html in TinyMce “Text” tab properly indented and highlighted
- TinyMCE adds a after a HR
- How to remove “justifyfull” in TinyMCE
- Filter html of WordPress editor in visual mode only
- Localize tinymce in WordPress 3.9?
- How to integrate a different (JavaScript) editor in WordPress?
- Get the More QuickTag button back
- TinyMCE buttons broken
- Preventing tinyMCE from auto formatting selected blocks of content
- WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instance
- Stripping tag from elements in post
- How can I replace the built in WordPress editor?