CSS Properties Get Removed in RichText Element – How to Retain Custom Styling?

Hi Community,

I'm currently using the RichText element in a Creatio Freedom UI page to load a static HTML page inside a Tab container. The HTML content is stored in a System Setting, and I retrieve this code at runtime to display it using the RichText editor.

For example, I read the HTML code from a System Setting and then attempt to render the full HTML (including inline styles) in the RichText element.

However, I'm facing an issue where inline styles or custom CSS seem to be stripped out.

Figure 1: Original Design Layout

Figure 2: Current UI Output

Has anyone else encountered this?

Any suggestions would be appreciated.

Thanks in advance!

Like 2

Like

2 comments

Hi everyone, kindly bumping this up, any input would be greatly appreciated.

Hello,

We reviewed this scenario and would like to clarify how the Rich Text Editor handles content.

Content created directly within the Rich Text Editor is expected to display correctly. When content is imported from an external system, the Rich Text Editor attempts to interpret and render the provided markup in a compatible format. However, the resulting display may vary depending on the structure and formatting of the source content.

External content can contain markup elements, formatting rules, or references to resources that are not fully compatible with the Rich Text Editor. In such cases, certain formatting may not be rendered as expected.

Because the structure and quality of content generated by third-party systems can differ significantly, consistent rendering cannot be guaranteed for all externally sourced content.

We hope this helps clarify the behavior.

Show all comments