[CKEditor] Show ckeditor formatted text in a table without the formatting markup

Forge Component
Published on 2018-11-28 by André Ramos
17 votes
Published on 2018-11-28 by André Ramos


I've created a text box and added CKEditor to it to enhance the look of the text - this works perfectly.

My question is.... I want to show this same field in a table view, but it obviously shows all the markup language too <li>, <ul> etc.... see screengrab (I want to hide the yellow text).... how can I strip this formatting off to only show plain text in the table view??

HTML Utils Extension (http://www.outsystems.com/forge/component/145/html-utils/) has an Action to strip HTML. When you save the HTML, best thing to do is strip it and save it to a second field for the plain text, this way you only need to do it once and can use it as-needed.