This question has an answer here . I think this will work for you. Let me know after trying
add_action('init', 'init_remove_support',100);
function init_remove_support(){
$post_type="page";
remove_post_type_support( $post_type, 'editor');
}
Related Posts:
- prevent wordpress from rendering line breaks as br tags
- Removing buttons from the html editor
- why do HTML Comments in the WYSIWYG break the page display?
- Contents of HTML editor mangled after multiple UPDATES
- functional quicktag
- How to process html editor whole content of a single post
- pop-up options for custom quicktags
- Create keyboard shortcuts for HTML mode
- How can I create an alternate full-HTML editor for posts?
- Adding Html in text editor automagically adds undesirable paragraphs when publishing
- How to prevent WordPress CodeEditor adding fake closing tags that corrupt the page?
- How can you change the non-visual editor’s background color?
- I have a question in Basic HTML [closed]
- Why is `–` converted into ndash and how can I get rid of it?
- unexpected added in HTML at each update [closed]
- WordPress adding in anchor elements when I save a page in html editor
- Set or change default text in hyperlink popup in post editor
- How to use “Add link” pop up for a WordPress widget
- WordPress Visual Editor Stripping HTML Changes
- Hide “Add media”, HTML editor from TinyMCE
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- Add quicktag buttons to the HTML editor
- Disable the Code View in the content editor?
- Enable / Add Custom Keyboard Shortcuts To Work With WordPress’ HTML Editor
- How to to stop html editor from addig tags to shortcodes, images, etc
- serialize_blocks breaking html tags in content
- strip only specific tags (like ), but keep other tags (like )
- Where can I find the code how wordpress parses a post?
- Preserve white-space in Page
- ID’s being stripped out of editor for Admin user in Multi-Site
- data-accordion removed in Visual Editor
- How to make WordPress and TinyMCE accept tags wrapping block-level elements as allowed in HTML5?
- How to add JavaScript code on WordPress properly?
- Why does the custom HTML block not preserve the HTML characters?
- WordPress tinymce prints empty P tag and break html format
- How-to stop wordpress from saving utf8 non-breaking space characters
- Exclude file from theme editor
- How To Hide The Visual And Html Editor Completely?
- add_meta_box Callback not being called
- How can I control the HTML output of my post?
- unwanted and tags in text editor
- Preserving tabs and line breaks in when switching from HTML to Visual Editor
- Can “ and “ tags be used in the HTML editor?
- How to display php source code inside a post using visual editor?
- Placeholder in HTML editor text area?
- Custom settings page TinyMce: no formatting when echoing value of editor
- Gutenberg; Rich Text/HTML for Metadata Textarea Control in Back End
- Prevent WordPress from messing my HTML
- Visual/Text tabs in wp editor Not Showing
- Selectively remove empty line after line change
- Prevent the Editor From Moving My
- HTML editor accessing quicktag buttons
- Text Editor Tags
- How to Add Custom Button to Text(HTML) Editor and NOT Visual Editor
- WordPress editor not creating tags properly in tables
- Product Custom Fields with HTML and JS
- Removing line breaks when in text view with wp_editor
- Visual editor keeps stripping my tags
- How to set wp_editor to be email friendly?
- In context click and edit: is it feasible?
- How can I remove line breaks from manually formatted HTML?
- How can I prevent WordPress to wrap into a paragragraph
- How can I make the page editor trust me?
- What is the correct syntax to append a URL using a shortcode for an iframe?
- WordPress adding a to my anchor for Read More
- Can’t give tags rels
- how can default_content filter tell if content will load in block editor or classic editor?
- How can a TinyMCE modal return formatted/visual text?
- Notion-like editing and layout with a convenient freeform collaborative editor in WordPress? [closed]
- Problem with some keys when editing HTML in wordpress “text” editor
- Why exactly does WordPress use p tags, not divs?
- Visual composer causing conflict with TinyMCE [closed]
- How to show the contants in front end same as visual editor with space / linebreak?
- Edit box scrolls back to the top after updating post
- How to determine if a post was last edited in the Visual Editor
- Using WP just to edit pages of an existing site
- How to add custom HTML tags in the visual mode via keyboard only?
- Adding a Media Button to the WordPress Content Editor
- Block editor: content resets to the previous state in “Edit as HTML” by clicking somewhere outside of the editing window
- How do I prevent WordPress from eating my code?
- Classic TinyMCE messing up only Contributor’s HTML
- Locating the HTML piece of code in wordpress
- How to create different gallery-types and let the editor choose between them?
- Why is every single HTML tag being stripped out of liveblog entries?
- Callback function quicktags that uses variable in start tag
- My WordPress editor deletes all characters after emoji – how can I fix this?
- Custom code in all text between ?
- How to disable style filtering in post?
- WYSIWYG with HTML source?
- insert link in wordpress editor greyout whole screen?
- Which subset of html does WordPress support?
- image overlay on image not working in wordpress, but works in “normal html editors”
- wordpress not saving form code in code editor
- WordPress HTML editor panel is not showing HTML elements
- Add Custom CSS Class in Child Theme [closed]
- Can you not edit the HTML and PHP of your WordPress without paying?
- How Do I Add HTML Support to the Additional Category Description Field?
- WordPress “HTML editor” which doesn’t trash hand-coded HTML?
- WordPress adds and tags into HTML blocks after saving
- Can’t have two simultaneous charts using Apex Charts