You can restrict the use of tags with Java-script. Before the comment being saved to the database you can trigger an on change event and check the comment text( which is basically a string) for keywords like html using functions like indexOf. Based on the result of the check you can then force the user to comment without using html.
Need help with the code? If not, please share your final solution.
Related Posts:
- Remove inline linking tool
- WordPress Editor not getting youtube video preview
- How-to stop wordpress from saving utf8 non-breaking space characters
- How avoid WP editor to change by
- How To Hide The Visual And Html Editor Completely?
- Convert this textarea to rich html format via wp_editor
- Visual/Text tabs in wp editor Not Showing
- Visual editor keeps stripping my tags
- WordPress Visual Mode Not Working – adding span code while clicking
- In context click and edit: is it feasible?
- How to show the contants in front end same as visual editor with space / linebreak?
- How do I prevent WordPress from eating my code?
-   when I use ENTER for skipping line
- Custom code in all text between ?
- Background color of edit post page
- Adding Custom Text Patterns in the WP 4.5 Visual Editor
- how to fix a broken visual editor
- How do you change the visual editor’s background color?
- WordPress Visual Editor Stripping HTML Changes
- How to get back distraction-free mode we had before WP 4.1?
- How to display TinyMCE without wp_editor()
- WordPress 4.8: Using multiple WYSIWYG-Editors with media inside of Widgets how to?
- How to replace the content of tinyMCE editor in both text and visual mode using jQuery?
- TinyMCE Anchor Button not showing
- How to enable the tag in WordPress posts and pages
- Visual editor not showing up
- Visual Editor Missing, Server-Side Problem, How Would You Debug It?
- How to add editor-style.css styling to wp_editor on front end for comments
- strip only specific tags (like ), but keep other tags (like )
- Resizing the width of the WYSIWYG editor
- Remove path from the create/edit a post view
- Can’t change the width of content in the visual editor
- WP Editor strips input placeholder attribute
- WordPress shortcut to switch from Visual to Text mode and vice versa
- How to enable user_can_rich_edit for guests?
- Any good desktop client for wordpress with support for google syntax highliter? [closed]
- How to enable visual editor when editing comments on the dashboard?
- How to make WordPress and TinyMCE accept tags wrapping block-level elements as allowed in HTML5?
- Lost formatting after saving
- Working With Visual Composer VC_Single_Image
- Visual Editor Background
- Is there a way to disable formatting shortcuts in 4.3?
- How to ensure the visual editor doesn’t ruin my iframe?
- Change Default Font Size and Remove Unwanted Font Sizes in TinyMCE
- WMP Plugin not showing up in the plugin panel?
- Visual Editor gone
- Preserving tabs and line breaks in when switching from HTML to Visual Editor
- How to reset display of WYSIWYG editor
- How to display php source code inside a post using visual editor?
- How can I determine what mode the editor is in and when it changes?
- Editor background colour in full screen
- Disable pasting of images into wordpress editor
- Resizing the wordpress editor
- Custom wp.editor.initialize settings ignored
- Line numbering on WordPress frontend
- Why the post content editor always expanded?
- Why is my theme is randomly stripping the tags out
- Remove inline styles from the_content?
- Dynamically add CSS to the visual editor
- How to Add Custom Button to Text(HTML) Editor and NOT Visual Editor
- Removing line breaks when in text view with wp_editor
- How to set wp_editor to be email friendly?
- Inline Style attribute getting stripped off
- How to Add TinyMCE to widget
- Is it possible to disable the image alignment options in the post editor?
- Edit page blank, control buttons missing
- Adding a button to the attachment page
- How to remove from hr in wordpress visual editor
- Change syntax styling of TinyMCE HTML Text Editor
- Automatically adds check on hide title and add paragraph when adding text
- More than one TinyMCE (wp_editor) with different $settings[‘drag_drop_upload’] values breaks
- WP as an HTML editor
- How to display shorter version of wp_editor?
- Define add_editor_style to specific post types?
- disable tags on wordpress text editor
- Want the visual style in wordpress
- jQuery does not work on WordPress editor
- Can’t give tags rels
- How to remove some options in visual editor?
- Automatically replace   with space
- how can default_content filter tell if content will load in block editor or classic editor?
- Notion-like editing and layout with a convenient freeform collaborative editor in WordPress? [closed]
- Can I still use Visual Composer Website Builder after upgrading to WordPress 5.0?
- Stop editor from adding “amp;” after every “&”
- Visual composer causing conflict with TinyMCE [closed]
- How to make shortcode which returns HTML?
- Add class to oEmbed video from within post editor?
- Why is tinymce visual editor showing the background from my theme
- Line breaks changing to when switching between HTML and Visual tab!
- How to determine if a post was last edited in the Visual Editor
- qTranslate 2.5.28 and WordPress 3.3.1 issues [closed]
- How to add TinyMCE to a front-end textarea?
- Adding a Media Button to the WordPress Content Editor
- ✓ Checkmark Character Encoding Issue In WordPress Editor
- Switching on edit
- Visual and Text tabs missing from Editor
- Square brackets at the end of a line cause line break to be skipped
- Block editor: content resets to the previous state in “Edit as HTML” by clicking somewhere outside of the editing window
- How to hide the Text Color icon from Visual Editor of WordPress Post Editor from Users other than Admins?
- Hide default values on VC editor