Hi.
I have a question, how to enable Rich text (HTML) editor for Profile Info description in user/company setings?
Hi.
I have a question, how to enable Rich text (HTML) editor for Profile Info description in user/company setings?
Hi,
Please try this code snippet to add a rich text editor to the frontend, but change listing to user [How to add custom code snippets - HivePress Help Center]:
Hope this helps
Hi Kseniia.
Unfortunately it doesn’t work in field “Profile Info” in form “account-settings”
Please make sure that you replaced listing with user in the provided code snippet. As the snippet works correctly with these changes, please see the screenshot.
Thank you so much for your help. It’s working now.
You guys are the best.
Best regards.
Glad to help!
Next problem with rich text editor in Profile Info.
Underline, Bulleted list, Numbered list no changes on refresh after “Changes have been saved”.
In Description of Job submit works well.
What am I doing wrong?
If you’re familiar with coding, you can try adjusting the editor settings for that field. You can customize the editor parameter and also add 'html' => true to the field configuration.
Unfortunately it didn’t help. What else can I do?
Thanks for the update.
We found the issue. By default, WordPress doesn’t allow rich editing for users’ descriptions except for the basic bold formatting.
Please try the updated code snippet, which should work: Enable rich text (HTML) editor for the user profile description #hivepress #users · GitHub
Hope this helps. Wishing you a relaxing weekend.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.