Rich text Editor Functionality
The Rich Text Editor (RTE) provides an intuitive interface for creating, editing, and formatting text-based content. It supports a wide range of text styling, layout, and content insertion options to help users build professional, dynamic, and visually engaging documents or templates. The editor also allows users to dynamically insert fields, related lists, variables, and interactive elements from Salesforce or connected data sources — making it highly flexible for personalized, data-driven content.
Key Features
- Text Formatting : The editor supports standard text formatting features:
- Bold, Italic, Underline, and Strikethrough
- Uppercase / Lowercase conversion
- Subscript / Superscript
- Subscript: Positions text slightly below the baseline (e.g., H₂O)
- Superscript: Positions text slightly above the baseline (e.g., 2³ = 8)
- Headings & Paragraphs: Apply headings (H1–H6), paragraphs, quotes, or code blocks for structure and readability.
- Font Options: Change font family, size, color, and alignment (left, right, center, justify).
- Remove Formatting: Clears all applied styles, returning the content to plain text.
- Undo / Redo: Quickly revert or reapply recent edits.
- Lists and Indentation
- Numbered Lists & Bullet Points: Organize content for better clarity.
- Indentation Controls: Increase or decrease text indentation for layout precision.
- Cut, Copy, Paste, and Select All
- Cut: Removes selected text and places it in the clipboard.
- Paste: Inserts clipboard content at the cursor location.
- Select All: Highlights all content in the editor for bulk actions.
- Paste Options Popup:
- Keep: Keeps original formatting and HTML.
- Insert as Text: Inserts text with its HTML structure and styles.
- Insert Only Text: Pastes as plain text without formatting.
- Cancel: Discards the paste action.
- Tables : The editor allows users to insert and fully manage tables with rich customization options.
Table Features:
- Insert / Delete:
- Add or remove rows, columns, or entire tables.
- Empty Cell: Clears cell content without deleting the cell.
- Merge / Split Cells: Combine or divide cells vertically or horizontally.
- Alignment Options:
- Text Alignment: Left, Center, Right, or Justify.
- Vertical Alignment: Top, Middle, Bottom, or Normal.
- Color Options:
- Text Color
- Background Color
- Border Color
- Add Rows/Columns: Insert new rows or columns before or after selection.
These features help users create structured, data-rich tables with flexible formatting.
- Insert / Delete:
- Insert Media and Objects
Insert Images/Insert From Device
• Supported Image Formats: Supports PNG, JPEG, TIFF, SVG,JFIF and ICON image formats.
• Maximum File Size: Allows users to upload images with a maximum file size of 5 MB.
• Upload or Select Images: Users can upload new images or select existing images stored in Salesforce.
• Delete Image: Allows users to remove an inserted image from the editor.
• Image Alignment: Allows users to align inserted images both horizontally and vertically according to their requirements.
Note :The Rich Text Editor does not support Base64-encoded images. Images from imported Word files or copied and pasted images must be added separately using the Insert Images/Insert From Device functionality.
Import Word File
The Import Word File functionality allows users to import content from a Word document directly into the Rich Text Editor. Users can select and import a Word file, and its supported text and formatting are converted into HTML content and displayed in the editor.
• The functionality imports the content of the Word document into the Rich Text Editor.
• The imported content may not be an exact replica of the original Word document. Some formatting, spacing, text boxes, and page layouts may differ in the generated HTML. Users should review the imported content in the editor and make any necessary adjustments before saving.
• Images included in the Word document are not imported into the editor. They are automatically removed during the import process because Base64-encoded images are not supported by the Rich Text Editor.
• Users may need to insert images separately using the Insert Images functionality after importing the Word document.
Insert Horizontal Line
• Adds a horizontal divider for visual separation between content sections. - Insert Symbols / Special Characters
• Includes a library of common symbols (©, ™, →, etc.) and special characters for enhanced readability. - Insert and Manage Links : The Insert Link feature enables users to add hyperlinks to text or images.
- Dialog Fields:
- URL: Destination of the link (e.g., https://www.example.com).
- Text to Display: The visible, clickable text shown in the editor.
- Class Name (optional): Allows applying custom CSS classes for styling (e.g., btn btn-primary).
- Additional Options:
- Unlink: Removes an existing hyperlink while retaining the text.
- Update: Saves changes to an existing link.
- Hover Toolbar Options:
- Open: Opens the linked URL in a new tab.
- Edit: Reopens the link dialog for modifications.
- Unlink: Quickly removes the link.
- Color: Adjusts link text or background color directly from the editor.
- Dialog Fields:
- Dynamic Content Integration : The Rich Text Editor supports inserting Salesforce data dynamically.
- Target Object
- The primary object on which the document or template is based.
- Supports up to 5-level field hierarchy for field references (e.g., Opportunity.Account.Owner.Name).
- Interactive Fields
- Embed dynamic Salesforce fields such as Checkbox , Currency , Date, Email, Picklist and Text.
- Fields update automatically based on user or contextual data.
- Global Variables
- Insert commonly used global variables, including:
- Date/Time: Current date and time.
- User Fields: Current logged-in user details.
- Organization Fields: Company name, address, and related data.
- Insert commonly used global variables, including:
- Additional Objects
- Add fields from other related objects (besides the target object) to enrich templates.
- Supports up to 5 hierarchical levels for complex data relationships.
- Related Lists
- Display lists of records related to the target object (e.g., Opportunity → Products).
- Allows filtering, expanding, and selecting fields for better data visualization.
- Target Object
- Source Code
- Source Code View / Change Mode: Lets advanced users view and edit the HTML source directly.
Purpose: Ensures formatting, layout, and interactive elements appear correctly.
- Source Code View / Change Mode: Lets advanced users view and edit the HTML source directly.
- Characters and Word Count
- HTML CHARS: Displays the total character count of the content, including HTML tags and white spaces.
- CHARS: Displays the total number of characters in the content, excluding white spaces and HTML tags.
- WORDS: Displays the total number of words in the content.
Example:
Welcome to the cloudy wave
HTML CHARS –37
CHARS –22
WORDS–5
11. Find
The Find functionality allows users to search for specific words or text within the editor and replace them when required.
The following options are available:
- Find: Searches for the specified word or text within the editor.
- Find Next: Navigates to the next occurrence of the searched text.
- Find Previous: Navigates to the previous occurrence of the searched text.
- Replace: Replaces the selected occurrence of the searched text with the specified replacement text.
SEE ALSO :
____👉Document Template Creation
Zoho books
Quickbooks
Shopify
Acumatica
SAP
Odoo
Sage
Agentforce Revenue Management
Agentforce Revenue Management + Billing
Salesforce CPQ
Salesforce Advanced Billing
Migrate from CPQ to ARM
Managed Services
Salesforce Implementation
Revenue Cloud Implementation
ServiceNow Consulting Services
Zoho CRM implementation
MuleSoft Integration
Microsoft
Data Cloud
Tableau
