173
Views
2
Comments
Solved
Issues rendering HTML within an OutSystems Expression

I'm having an issue getting an HTML string entered by a user (via CKEditor) to render properly. With the Escape Content property set to 'No', the content (see attached) pushes the entire contents of the page to the upper-left corner of the screen? 

Suggestions?



Sample.txt
2017-07-05 18-13-21
Tiago Neves
Solution

Hi Daryl,

The reason it shows in the top of the screen is exactly because of the style contained in that html, you'll notice "position: absolute; top: 10px;". So, the expression is rendering correctly. Don't know exactly what you want, but you probably could also get rid of those CKEditor specific styles.

2021-01-04 17-46-03
Daryl Van Johnson

Thanks for the reply Tiago!

Yeah, I noticed the position in there was 'absolute'. I guess I was expecting (hoping) the container housing the expression would override things like that. Guess I have some more work to do!

Thanks again! 

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