Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

Font CSS changes when property is referenced after pasting HTML

SA-28787

Summary



The user has an Email template, and when. User does copy paste HTML code to the source and then views it in normal mode. When variables are added to the email template, the font (size and style) changes.






Error Messages



Not Applicable


Steps to Reproduce

  1. Create a new email template
  2. Go to source and copy paste a HTML code
  3. Insert or drag a property to the Email template


Root Cause

The user was straightaway deleting the property and then inserting the new property -
  1. The span element does gets deleted from the HTML.
  2. This span has "inline" style which also gets deletd and it takes the Font size from its parent div class "ft16".
  3. ​So the font size changes for the new inserted property.

Resolution


Put the cursor on the property and remove it, using backspace and then insert the property. So the following would happen:

  1. The span element does not get deleted from the HTML.
  2. This span has "inline" style which also sets the Font size.
  3. So the font size does not change for the new inserted property

Published August 23, 2017 - Updated December 2, 2021

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us