146
Views
9
Comments
HtmltoText
Application Type
Traditional Web

We're storing data from CKEditor. The data is stored in a database with html tags. 


When we displaying it on the grid it shows the record with an HTML tag. 


I applied the htmltotext ( ) to remove the html tag However, it does not remove the HTML tag entered manually by the user. 

See the example of <h>Those are already </h>

 

2025-04-16 10-58-33
Priyanka Babar

Hello Amrata

you can use CKEditor forge component for this

2025-09-15 03-29-46
Amrata Kuchekar

Could you please add OML or snap. 
My issue is user added the data from CKEditor and it store in db with html tag. When display it in grid used htmltotext( ) to remove the html tag. 
But issue is when user manually entered the data with html tag. It shows in grid with html tag even I used htmltotext ( ) .

2018-08-27 08-29-35
Fábio Vaz

Hello,

Try use this action and use Escape content = NO

2025-09-15 03-29-46
Amrata Kuchekar

Hi , 

The Escape Content setting was set to No. It does not remove the HTML code entered manually. Could you please suggest. 





2022-02-01 06-08-14
Muruga Nandan

hello @Amrata Kuchekar, use the below component to solve your problem

https://www.outsystems.com/forge/component-overview/145/html-utils

UserImage.jpg
vikas sharma
Champion

Hi,

There may be many options. As you saved data using CKEditor so can use HTMLViewer() method from CKEditor itself. 

regards

2022-07-03 17-24-08
Sourabh sharma

Hi,

without HTML tag if you save data in your DB ,when you want to call those data, it will not come with those formating which the user applied on them.

But show them without tag! In CKeditor you get the HTMLViewer use this to show the data in your widgets without HTML Tags.


2025-09-15 03-29-46
Amrata Kuchekar

Hello Sourabh sharma ,

Thank you for the response. HTMLViewer is available for reactive only. I am working on traditional. 

2025-04-17 05-42-16
Ajit Kurane

Hi Amrata,

Please check this link,

https://www.outsystems.com/forge/component-overview/145/html-utils

You can download demo and also check how it is working. 

Thanks,

Ajit Kurane.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.