This topic has 0 replies, 1 voice, and was last updated 8 years by js100.

  • Author
  • #88840
     js100
    Participant

    Found this out have drive me crazy. With new BuddyPress update richtext editing for textarea profile fields is enabled by default.
    If anyone needs it too, here is the fix. Insert this code in buddypress-functions.php (better) or in your functions.php

    COPY CODE
    /**
     * Disable profile textarea editor 
     */
    function bp_no_profile_editor($richtext_enabled) {
    	$richtext_enabled = false;
    	return $richtext_enabled;
    }
    add_filter( 'bp_xprofile_is_richtext_enabled_for_field', 'bp_no_profile_editor' );
Viewing 1 post (of 1 total)

The forum ‘Plugins questions’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?