Use richtext widget on a text field

Please i’m trying to use the same widget used in text body field in emails, the editor,

how to proceed please?

I guess you are looking for the richtext widget

yes exactly. i want to be able to have that same widget in an other field

Then you just need to use the widget attribute on your view. Something like:

<field name="yourfieldname" widget="richtext"/>

I tried this but i’m not having the the toolbar with ‘B’,‘I’,‘U’,

It was not working because i added toolbar=‘0’
Thanks alot

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.