RichEditor is removing inline styles

I got html in database, for example:

<p style='margin: 0 0 35px 0; padding: 0; font-weight: 400; font-size: clamp(40px, 2vh, 54px);line-height: clamp(40px, 2vh, 54px);letter-spacing: -5%;color: #000E5F;'><span style='color: #25AAE9;'>Who</span> <strong>We</strong> Are?</p>


After loading it into RichEditor, it removes inline styles, in this example, this is <trix-editor> output contents:
<p><!--block-->Who <strong>We</strong> Are?</p>


Is there a possibility to force RichEditor to not remove inline styles and render them correctly?
Was this page helpful?