Rich Text Widget Issue

0
Hi All,   I am using rich text widget in one of my pages where user give comments. I would be sending this attribute to backend to store this comment which was entered by user. Unfortunately the value entered by user is storing as for example: user entered comment as “test comment” but it is storing as “<p> test Comment</p>”.  Please let me know how can store the exact value which was entered by user.  
asked
1 answers
1

Hi Ravindra,

 

As described in the widget page and also here → https://github.com/mendixlabs/rich-text

The widget produces a HTML output, so is not possible to clean the HTML tags from the text, for it you will need to use the normal TextArea

answered