Loading
Prepare for Email to Become the Default Login ExperienceRead More
Explore Legacy Service Features
Tips for Using the HTML Editor

Tips for Using the HTML Editor

The HTML editor gives users WYSIWYG HTML editing capabilities.

Required Editions

View supported editions

Users can

  • Insert an image
  • Insert hyperlinks
  • Change paragraph alignment
  • Create bulleted and numbered lists

Implementation Tips

  • HTML tags you enter into the HTML editor will display to users as text.
  • In related lists, search results, and hover details, Salesforce does not display text with HTML formatting or images.
  • Hyperlinks open in a new browser window when users click on them. The HTML editor supports HTTP, HTTPS, and mailto hyperlinks.
  • To insert an image, click Insert Image and either browse to an image file or specify the image's web address. Enter a description that appears when a user hovers over the image and when the image is not available. The image must have a URL that Salesforce can access.
  • Images do not show up in list views and reports.
  • You cannot disable individual features of the HTML editor. For example, you cannot disable its hyperlink and image capabilities.
  • The HTML editor supports all languages that Salesforce supports.
  • For security purposes, the HTML editor only allows the tags and attributes listed in Supported HTML Tags and Attributes. Salesforce automatically removes unsupported tags and attributes when you save an idea description or comment. Salesforce also removes potentially malicious HTML. Note that Salesforce does not notify users when unsupported or potentially malicious HTML is removed.
  • The HTML editor does not support JavaScript or Cascading Style Sheets (CSS).

Supported HTML Tags and Attributes

The HTML editor supports these tags:

<a> <dt> <q>
<abbr> <em> <samp>
<acronym> <font> <small>
<address> <h1> <span>
<b> <h2> <strike>
<bdo> <h3> <strong>
<big> <h4> <sub>
<blockquote> <h5> <sup>
<br> <h6> <table>
<caption> <hr> <tbody>
<cite> <i> <td>
<code> <img> <tfoot>
<col> <ins> <th>
<colgroup> <kbd> <thead>
<dd> <li> <tr>
<del> <ol> <tt>
<dfn> <p> <ul>
<div> <pre> <var>
<dl>    

The above tags can include the following attributes:

alt face size
background height src
border href style
class name target
colspan rowspan width

The attributes can include URLs that begin with the following:

  • http:
  • https:
  • file:
  • ftp:
  • mailto:
  • #
  • / for relative links

Enabling the HTML Editor in Ideas

The HTML editor is enabled by default for most organizations. If your organization does not have the HTML editor already enabled, an administrator can enable it as described in Enable and Customize Ideas Settings.

Warning
Warning Once you enable the HTML editor, you cannot disable it.

Before enabling the HTML editor, note the following:

  • Each HTML idea description has a maximum size of the 32 KB. Each comment has a maximum size of 4 KB.
  • If you use the HTML editor to edit and save an idea description or comment that was in text format, Salesforce saves the description or comment in HTML format.
  • In list views and search results, Salesforce displays only the first 255 characters of an idea's description or comment. This number includes HTML tags.
 
Loading
Salesforce Help | Article