BuddyDev

Search

[Resolved] TinyMCE and Buddypress bio

Tagged: ,

  • Participant
    Level: Initiated
    Posts: 11
    Joy on #51752

    Hi Brajesh, do you know how I can use the TinyMCE or other rich editor for the biography textarea box when updating a Buddypress profile from the front-end? I’ve looked for a plugin and snippets but haven’t found anything that works yet.

  • Keymaster
    (BuddyDev Team)
    Posts: 24211
    Brajesh Singh on #51757

    Hi Joy,
    Thank you for the question.

    There is no straight forward way to achieve it.
    The class BP_XProfile_Field_Type_WordPress_Biography does not offer any way to change the markup from text editor to use wp_editor instead.

    There are solutions like extending this class and overriding edit_field_html and then using the filter bp_xprofile_get_field_types to use the new class.

    Or, TinyMCE can be enabled using javascript.

    But the best way is to request BuddyPress team for it. They only need to do a minor change to make it work exactly like multi line text area and that would be better and maintainable approach.

    Regards
    Brajesh

  • Participant
    Level: Initiated
    Posts: 11
    Joy on #51829

    Thank you!

The topic ‘ [Resolved] TinyMCE and Buddypress bio’ is closed to new replies.

This topic is: resolved