232
Views
4
Comments
Solved
[CKEditor.Reactive] display the formatted text without HTML tags
ckeditor-reactive
Reactive icon
Forge asset by Fábio Fantato

I'm using CKEditor reactive to edit text and convert it to HTML and save it in the database.
So I have a list of all edited texts with HTML tags, How can I display the Saved HTML to text with the editing applied on it without that HTML tags

2024-04-15 11-41-04
Porselvan Gnanavelu
Solution

Hi Lina,

Kindly use the CK Html viewer, by passing the HTML value into it.

Please find the attached OML. That might help you.

Thank you.

CKeditordemo.oml
UserImage.jpg
Lina Abushammala
Solution

Thanks Porselvan and Manish 
 I've tried what you suggest but it didn't work because I need something to convert HTML to Text in the list that I have not in the CKEditor

I use InjectHTML forge and it's working fine now :)
Thanks again for your suggestions.  

2021-05-18 02-27-17
Manish Gupta
Champion

Perfect Lina. Happy to see you have done this. 

I might not get what you asked correctly. Sorry for that :) 

2024-04-15 11-41-04
Porselvan Gnanavelu
Solution

Hi Lina,

Kindly use the CK Html viewer, by passing the HTML value into it.

Please find the attached OML. That might help you.

Thank you.

CKeditordemo.oml
2021-05-18 02-27-17
Manish Gupta
Champion

Hii Lina

What I have understood from your question is you have a block of data with HTML Tags. That you want to save using CK Editor but after saving they should be displayed like Text. 

If I am correct, you can use Source Property of CK Editor to Paste HTML and Click it again to see the TEXT (Without Tags)


Please let me know if your requirement is different. 

Thanks 

UserImage.jpg
Lina Abushammala
Solution

Thanks Porselvan and Manish 
 I've tried what you suggest but it didn't work because I need something to convert HTML to Text in the list that I have not in the CKEditor

I use InjectHTML forge and it's working fine now :)
Thanks again for your suggestions.  

2021-05-18 02-27-17
Manish Gupta
Champion

Perfect Lina. Happy to see you have done this. 

I might not get what you asked correctly. Sorry for that :) 

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