Stop HTML tags stripping when disabling rich editor

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM – Ultimate Stop HTML tags stripping when disabling rich editor

Viewing 1 reply thread
  • Author
    Posts
    • #69253
      design1
      Participant

      Hi, I have used your snippet in functions.php

      add_filter( 'wcfm_is_allow_rich_editor', function( $editor ) {
      	return '';
      }, 750 );

      to disable rich text editor for Vendors. But after saving any html tags are being removed. How can I ensure WCFM doesn’t remove these?

      Attachments:
      You must be logged in to view attached files.
    • #69789
      WCFM Forum
      Keymaster

      Hi,

      Please add this also –

      add_filter( 'wcfm_is_allow_editor_newline_replace', '__return_false' );

      Thank You

Viewing 1 reply thread
  • You must be logged in to reply to this topic.