Remove Rich Editor Class From Add New Product

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 Remove Rich Editor Class From Add New Product

Viewing 5 reply threads
  • Author
    Posts
    • #16816
      Elham
      Guest

      Hi ,
      I want to remove rich editor when the vendor add short description and description in Add Product page.
      I tried to remove rich editor class from these fields but I got <p> and </p> tags inside the textarea of them.

    • #16817
      WCFM Forum
      Member

      Hi,

      Thanks for get in touch with us.

      First of all,please don’t edit any WCFM core files, this can be achieve very easily.

      If you are using WCFM Ultimate then you already have capability option for this.

      If you are using only WCFM Free version then kindly add the below code to your child theme’s functions.php –

      function wcfmcap_custom_is_allow_rich_editor( $rich_editor ) {
        	return '';
        }
      add_filter( 'wcfm_is_allow_rich_editor', 'wcfmcap_custom_is_allow_rich_editor', 700 );

      Please know me is this works for you or not!

      Thank you
      Simha

    • #16869
      Elham
      Guest

      Thank you for your quick reply, I did not expect it so I did not if you have answered.
      These lines work, but when I want to edit the product it still shows the textarea with <p> and </p> tags.

    • #16881
      WCFM Forum
      Member

      Hi,

      That’s strange, we have fixed this issue in WCFM 3.3.4.
      Which version you are using in, please upgrade to the latest version.

      Thank You

    • #16983
      Elham
      Guest

      yes The version is 3.3.4
      I have updated it to 3.3.5 and the it solved, Thank you alot

    • #16994
      WCFM Forum
      Member

      Ahh … great.
      Thanks for informing this.

      Regards
      Shhiv

Viewing 5 reply threads
  • The topic ‘Remove Rich Editor Class From Add New Product’ is closed to new replies.