Depending on the type of document that you are working with, the act of copy and paste can result in some hidden and unwanted HTML from carrying over. Word documents, for example, has its own set of HTML that does not always translate very well into other document types or browsers.
Since much of the content that is used to build an event is often copy and pasted from another source, we have created a Whitelist of specific HTML tags that will be supported and carried over when you are pasting content into the Experience Manager - this helps in creating a consistent experience that will ensure the text you are adding will display as intended.
Below you will find a list of Supported Tags and Attributes that will work within the Rich Text Editor. All tags and attributes outside of this list will be stripped away when copying and pasting, and/or if they are being added through the editor itself.
Supported Tags
a | Hyperlink |
blockquote | Quote |
body | Document Body |
br | Line Break |
center | Center-Align |
code | Computer Code |
div | Section |
em | Emphasize |
font | Text Font |
g | Scalable Vector Graphics (SVG) |
h1 | Heading |
h2 | Heading |
h3 | Heading |
h4 | Heading |
head | Metadata |
hr | Thematic Break |
html | HTML Document |
i | Italics |
img | Image |
ins | Inserted Text |
li | List Item |
ol | Ordered List |
p | Paragraph |
pre | Preformatted Text |
s | Strikethrough |
span | Inline Container |
strong | Important (bold) |
sub | Subscript |
sup | Superscript |
table | HTML Table |
tbody | Body Content in HTML Table |
td | Data Cell |
th | Header Cell in HTML Table |
tr | Row in HTML Table |
u | Underline |
ul | Unordered List |
wbr | Word Break Opportunity |
Attributes
* |
class |
data-fr-link | |
title | |
style | |
dir | |
align | |
bgcolor | |
valign | |
cellpadding | |
cellspacing | |
colspan | |
width | |
height | |
border | |
open | |
a | href |
rel | |
target | |
font | size |
img | src |
class | |
alt | |
width | |
height | |
rel | |
ul | type |