This should do the trick:
remove_filter('the_content', 'wpautop');
remove_filter('the_content', 'wptexturize');
Related Posts:
- Extra TinyMCE editor strips and tags?
- WordPress 4.6 link edit dialog is too rudimentary
- line break are not working when editing a post [closed]
- Change the Theme in Jupyter Notebook?
- Disable Visual editor for all users
- Why is the visual editor in WordPress limiting the width by wrapping the content?
- Editor removes tags
- Avoid converting “>” to >
- Disable WYSIWYG editor only when creating a page
- How can i add some static text above the editor?
- Add quicktag buttons to the HTML editor
- Disable the Code View in the content editor?
- Re Order Editor to be after meta box [duplicate]
- Disable escaping html
- Gutenberg block editor – list of form components for custom blocks
- Completely disable editor
- Modifying the main editor priority
- What’s the Best Way to Edit WordPress Files?
- Why is WordPress WYSIWYMG and how do I make it WYSIWYG?
- TinyMCE editor – new lines not rendered on front end
- Square brackets make WordPress ignore newline/paragraph
- Open posts in editor in the ‘Text’ mode by default
- Making the Post/Page Content Editor Box Bigger?
- Showing only certain buttons on tinymice content editor
- Set default text for the editor in new posts
- How to apply editor filter to posts with a specific custom post type
- How to *disable* the post content editor
- Add option for editors through `register_setting`
- TinyMCE Plugin Parameter
- How do I fix my ‘Path’ field when editing pages via the Dashboard?
- Define multiple Gutenberg editor widths
- in network setup super admin has the tinyMCE buttons and the regular admin has not
- edit posts through front-end
- Restrict other Admins from using Editor in Admin Panel
- Editor doesn’t load properly on my self-hosted WordPress 3.3
- Can Rich Text features be configured per user?
- How to add notice text above Post Editor?
- Cannot access WordPress Appearance → Editor
- How to disable YouTube (and any other oembed) embeding in the editor
- Bulk edit contents of pages
- How to leave a line between paragraphs when writing text in the visual or text editor
- Customize Editor Styles
- wp_editor() youtube link does not load video
- Removing line breaks when in text view with wp_editor
- How to display full width block without toolbar?
- How can I register a custom “Text Pattern” (WP 4.3) for TinyMCE?
- How to dynamically generate wordpress editor on frontend?
- Change syntax styling of TinyMCE HTML Text Editor
- Making the Content Editor Box Bigger in 2013
- WordPress editor removes all the linefeed characters with WP-Markdown and Syntax Highlighter evolved
- WP is not allowing me to post Macintosh .pages documents to my blog
- Visual Editor: Paragraph styles appear to one admin but not to others
- The simplest way to let clients edit pages
- Page/post editor with syntax highlighting [closed]
- How do you stop WP from stripping code? [closed]
- Unable to edit and see content of pages
- Feauterd image meta box not showing up
- Why WordPress not using WP_Filesystem
- How to add HTML5 required on wp_editor
- Edit box scrolls back to the top after updating post
- How to make the WordPress Editor not accept HTML?
- wp_editor removes HTML and inline styles
- Dynamic WordPress editor in meta box
- How can I edit pages from my local environment?
- I want a widget to appear on only one page
- How can I force the WordPress visual editor to preserve the line breaks after paragraphs?
- Problem with -> in pre tags
- Best way to strip the_content of html on the front end?
- Why does a certain attribute disappear after a while from a page?
- Is WordPress classical and block editor(s) too inefficient to handle large data?
- How to add text editor field in user edit profile?
- Edit Post with a parameter in URL
- Missing Edit button
- Elementor Text Editor Widget Not Working
- editor option not available in dashboard
- Gutenberg work with Bootstrap Shortcodes plugin
- Classic Editor text font color is white after installing the latest version of wordpress
- WordPress Gutenberg home page “edit Page” option missing
- How to hide a field of the editor by default
- Visual editor on front-end call not working properly
- How to show post title in content editor in backend?
- Use ENTER, not SHIFT+ENTER to Insert Line Break in WP editor
- How do I add one more status as “edited by editor”?
- What’s the best way to trim content from WYSIWYG editor?
- Image Post creates unusual extra HTML
- Why are carriage returns deleted in the editor?
- How can show my images style from editor
- Line break no working on theme
- Directly open page in text editor
- No paragraphs for a part of text in editor
- Where Can I Find the Video Player In The Edit Media Screen
- Limit post view and management to custom user meta information
- Forbidden when I’m trying to edit one page
- Only ONE of my blog posts aren’t loading when I click “edit”…really bizarre?
- How i can customize WordPress front page in WP dashboard editor?
- Foliopress WYSIWYG editor does not display images [closed]
- Why are many options missing from the editor?
- WYSIWYG – Custom field inside link
- Page Edit – Re-arange the order of contents (images, banners, blocks) on a wordpress website
- How can I edit global styles?