SAP Knowledge Base Article - Public

2834551 - Supported Formatting Options in Cloud for Customer

Symptom

When copying content from other platform and pasting into Cloud for Customer, you get error messages similar to:

  • Invalid value "ABC" for attribute style of tag <123> or;
  • Tag <456> is not found in the allowed list.

Environment

SAP Cloud for Customer

Cause

The following formatting options (html tags & attributes) shall be supported:

Formatted Text Element Description
<p style="title: TITLENAME;"></p> Title
&nbsp; Space
<p></p> Paragraph
<p style="padding: 2px;"></p> Padding (px, em %)
<p style="margin: 3em;"></p> Margin (px, em %)
<ol><li></li></ol> List: Counter
<ul><li></li></ul> List: Bullet
<a title="" href=""></a> Link
<p style="padding-left: 30px;"></p> Indented ("eingerückt")

<p style="text-indent: 10%;"></p>

also possible "WORD-SPACING|WINDOWS|-WEBKIT-TEXT-STROKE-WIDTH|LINE-HEIGHT"

Indent (px, em %)
<span style="text-decoration: underline;"></span> Font: underline
<span style="text-decoration: line-through;"></span> Font: strikethrough
<p style="font-size: LARGE;"></p> Font: Size (px, em %)
<p style="font-family: center;"></p> Font: Family
<em></em> Emphasized / Italic
<strong></strong> Bold
<p style="text-align: right;"></p> Align: Right
<p style="text-align: left;"></p> Align: Left
<p style="text-align: center;"></p> Align: Center
<p style="text-align: justify;"></p> Align: Block

Resolution

Any formatting not mentioned in the table is not supported and will result in the above mentioned error messages.

When copying the text from certain sources, it can contain formatting. When then pasting it to a formatted text field, then we get the error message.

If the system reads formatted text then this needs to match a format from the list above.

If you paste the text into an area that clears formatting (for example notepad) first and copy it from there into the formatted text field, or, if you type the text directly into the field, then there is no issue.

Keywords

tag ; copy ; paste ; copy and paste ; tag error ; content ; invalid value ; span ; save failed ; fail save ; internal memo ; email ; reply ; ticket ; , KBA , whitelist , LOD-CRM-SRP , Service Request Processing , How To

Product

SAP Cloud for Customer add-ins all versions ; SAP Cloud for Customer core applications all versions