[CKEditor] Remove tags

Forge Component
(28)
Published on 26 May (6 days ago) by Prasad Rao
28 votes
Published on 26 May (6 days ago) by Prasad Rao

Hi!

I'm using CKEditor and i would like to know if it's possible to remove all the tags in order to display only the text, for example i've this thing like <b> word <> and i want to display only ''word'' withou the style. 

BR!


Yes, you have at least two options to do that:

1. Use the Sanitization API (https://success.outsystems.com/Documentation/11/Reference/OutSystems_APIs/Sanitization_API#SanitizeHtml)

2. Use the Text and HTML Processing forge component (https://www.outsystems.com/forge/component-overview/2007/text-and-html-processing), action HtmlRemoveUnsafeTags.