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 October 4, 2016 - Updated August 23, 2017

Have a question? Get answers now.

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