Skip to:
Content
Pages
Categories
Search
Top
Bottom

Want to use Rich text editor instead of textarea in profile section?

  • Hello everyone,

    I am new to buddypress and i want to change several textarea in to the rich text editor like in the about me on profile section or in compose message section on my buddypress theme.

    I tried BP-tinymce plugin but it is showing error on my theme. so please suggest me function code that change textarea to rich text editor.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

  • Roger Coathup
    Participant

    @rogercoathup

    You could try editing /profile/edit.php in your theme to use wp_editor() instead of textareas.

    Have a Google for guidance on using wp_editor() – it’s the WordPress wrapper around tinymce.

    You’ll probably also need to change the filters that sanitise your text inputs to ensure they allow the tags that you want to support in your editors.

    hello @roger,

    I tried this but when i updated the profile field using this editor, it gives me limited used of tags like bold or italic tags not allowing me to use font color and font size. and after editing the profile field when i check the profile page it gives output in html code format. is this the problem of strip_tags.

    please guide me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Want to use Rich text editor instead of textarea in profile section?’ is closed to new replies.
Skip to toolbar