Not able to see the rich text

Hi Team,

I had applied the rich text in the description field. but after save see the below output.

Please help me to solve this asap.

Thanks,
Sourabh

Hello @sourabht,

Thanks for your message.

Did you apply the rich text widget for the display and for the editor on this field settings?

It should help understand what it possible to do with this widget.
image

Moreover, we are going to apply some fixes on this widget (for bullet points, quotes, etc) really soon (but the bold feature should already be working).

Thanks!

Hi @anon34731316 ,

I have applied that settings but the text is not showing bold on the details page.

Is there anything to configure here?

Thanks,
Sourabh

@sourabht,

You don’t need to configure the “alter value” option.
However, please edit your field, and use the UI to make it bold, like this:


Does it work?

Thanks.

Able to see bold on rich text when update text but after submit Not able to see bold.

Here i am passing the rich text data to other API to store using override the route.

Thanks,
Sourabh

What do you mean by “submit"? Through a smart action?
I need a more detailed description of your case if it’s not just displaying rich text.
Thanks.

Here is the code which sends a request to another API to store data into database

router.put('/***/:recordId', permissionMiddlewareCreator.update(), async (request, response, next) => {
requestData = {
...
home_header_title:home_header_title,
...
};
  await axios({
      url: ***+'/settings',
      method: 'post',
      data: requestData,
    })
    .then(async (result) => {
      response.send(await recordUpdater.serialize(result.data.data));
    })
    .catch((error) => {
      response.send({'error:': error});
    });
});

Thanks,
Sourabh

Hello @sourabht,

Thanks for your answer.

Can you share the value that is sent (payload of your browser call) and the value that is received (log in your server in the put route)?

Thanks.

HI @anon34731316 ,

We are getting response from API is below.

{
.....
 home_header_title: '<div><strong>Quaerat quisquam reiciendis quo minus dolor iure explicabo.</strong></div>',
...
}

And requested data is console below:

<div><strong>Quaerat A</strong></div>

Even we are getting HTML tags in rich text editors while editing the data.

Thanks,
Sourabh

Just to be sure, you’re getting what you’re expecting, except from the < that is giving with its html code &lt;?

But value stored into the database in below format.

Screenshot_20210804_160938

Is there any other thing need to take care of while inserting the record.

This is very strange, I just tested, and in my DB (with the regular update) it looks great:
image

Could you try to remove the value, and create it again thanks to the rich text editor widget?

Hello @sourabht,

Any news on this topic?

Thanks!