0

In my project, I use the ajax to send the data to backstage and if there are css inline style like follow:

<p><span style="color: rgba(0, 0, 0, 0.84); font-family: medium-content-serif-font, Georgia, Cambria, &quot;Times New Roman&quot;, Times, serif; font-size: 21px; letter-spacing: -0.063px; background-color: rgb(255, 255, 255);">Making myself so vulnerable was terrifying. It was difficult, telling the truth of my body, subjecting myself to the opinions others would inevitably form about my body if they didn’t have them already.</span></p>

It will be forbiddened and if I clear the style like follow:

<p>Making myself so vulnerable was terrifying. It was difficult, telling the truth of my body, subjecting myself to the opinions others would inevitably form about my body if they didn’t have them already.</p>

It works.

So are there methods I can only escape the inline style for this situation? Thanks!

Day Break
  • 11
  • 4

0 Answers0