[CKEditor] Remove tags

Forge Component
(23)
Published on 8 May by leonardo.fernandes
23 votes
Published on 8 May by leonardo.fernandes

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.