• Resolved Sophivorus

    (@sophivorus)


    Hi! First, uber thanks for this awesome plugin, hands-down the best in the market.

    I have a little suggestion/request. By allowing vendors to input all sorts of rich-text & HTML into their store description and product descriptions, some end up building all sorts of weird designs to distinguish themselves which cause an inconsistent experience for users browsing the marketplace, especially users browsing from mobile devices.

    Thus I’d like to suggest/request that rich-text & HTML can be disabled by admins for store pages, product short and long descriptions, etc. so that only plain-text can be used.

    Plain text allows to simulate titles, subtitles and lists, which is all that most vendors really need (at least in some marketplaces). It’s also 100% mobile-friendly, and leads vendors to focus on content rather than style.

    Hope this makes as much sense to you as it does to me. Once again thanks for your awesome work!

    PS: I’m not sure if this request belongs here or at the WooCommerce Multivendor Marketplace support forum. I’m using both plugins and I’m not sure what aspects of the experience belong here and what aspects belong to the other plugin.

    • This topic was modified 6 years, 4 months ago by Sophivorus.
    • This topic was modified 6 years, 4 months ago by Sophivorus.
    • This topic was modified 6 years, 4 months ago by Sophivorus.
    • This topic was modified 6 years, 4 months ago by Sophivorus.
Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author WC Lovers

    (@wclovers)

    Hi,

    Thanks for get in touch with us and really pleasure to have such appreciation ??

    Well, I understand your requirement and WCFM Ultimate has this capability option – https://ibb.co/fEfGLL

    But this capability option comes with WCFM Ultimate (https://wclovers.com/product/woocommerce-frontend-manager-ultimate/)

    Or, if you don’t have WCFM Ultimate then add this code to your child theme’s functions.php –

    add_filter( 'wcfm_is_allow_rich_editor', function( $reach_editor ) {
    	if( wcfm_is_vendor() ) $reach_editor = '';
    	return $reach_editor;
    }, 750);

    Thank You

    Thread Starter Sophivorus

    (@sophivorus)

    Wow, super thanks for the snippet, it worked perfectly ! I’ll definitely buy WCFM Ultimate when my sales allow it. Cheers !

    Plugin Author WC Lovers

    (@wclovers)

    You are welcome ??

    It will be great for me if you leave a review for us.

    Have a great weekend!

    Thank you

    Thread Starter Sophivorus

    (@sophivorus)

    Review published, thanks again!

    I just noticed a strange little bug with the plain-text only textareas enabled by the snippet you gave me. Maybe this is also happening with the Ultimate plugin.

    When I write some text and hit Enter once or twice for a newline or a double newline, when I save, the text is displayed correctly in the published product, but in the textarea, the single newlines and the double newlines get inverted! In other words, where there was a single newline, now there is a double newline, and vice versa. (I’m not sure if this is a 100% correct description of what’s going on, but definitely something weird is going on.)

    This would not be a problem if it weren’t because, when I save again then the inverted newlines are published, and the textarea shows correct newlines, or some new variation. I haven’t quite figured out the exact pattern yet.

    Anyway, I hope this report helps you find the bug and fix it.

    Kind regards, and thanks again !

    Plugin Author WC Lovers

    (@wclovers)

    HI,

    Well, this is no way related to WCFM Ultimate.

    We are checking this and will definitely resolve in next update.

    Between, thanks a lot for the review ??

    Thank You

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    WCFM 5.1.10 has just released, can you please update and take a look!

    Thank you

    Thread Starter Sophivorus

    (@sophivorus)

    First of all thanks for the awesome support and response time.

    I downloaded WCFM 5.1.10 and did some testing. It seems like the issue is half-solved. Now there’s no newline issues anymore. But oddly enough, the <p> and <br> tags are now visible to the users in the plain-text textarea !

    I hope you can fix this too. In exchange I’ll continue translating to Spanish all of your awesome plugins. Cheers !

    Plugin Author WC Lovers

    (@wclovers)

    Hi,

    You are welcome ??

    Thanks for the update, we are checking this as well.

    Thank You

    Thread Starter Sophivorus

    (@sophivorus)

    Hey! This issue still seems to be annoying users. Could you take another look, pretty please? Thanks !!!

    Thread Starter Sophivorus

    (@sophivorus)

    After much slow and painful debugging, I was able to more or less solve this issue by adding:

    
    add_filter( 'wcfm_is_allow_rich_editor', function() {
    	return false;
    }, 750 );
    
    add_filter( 'wcfm_editor_newline_generators', function() {
    	return ["</p>"];
    }, 750 );
    

    You may want to check your default values for wcfm_editor_newline_generators guys.

    • This reply was modified 6 years, 1 month ago by Sophivorus.
    • This reply was modified 6 years, 1 month ago by Sophivorus.
Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Plain text only’ is closed to new replies.