You are here:
Considerations and Limitations for the Lightning Editor
Before enabling the Lightning Editor, review the related considerations and limitations. They apply to the Knowledge article editor and the docked and case feed email composers in Email-to-Case.
Required Editions
| Available in Lightning Experience. View supported editions. |
General Considerations
- When pasting content into the Lightning Editor with Remove Formatting enabled,
the editor removes the formatting and styling from the pasted text but maintains
the underlying semantic markup and content structure.
For example, a
<b>(Bold) tag found in the HTML document is retained in the final pasted content even with Remove Formatting selected. Similarly, a style addition such astext-decoration: underlineis removed from the pasted content upon selecting Remove Formatting. - The original formatting may not be preserved when you add rich text merge fields in the
Lightning email composer. When HTML content is added within an HTML document, the styles
sometimes conflict, causing unexpected formatting.
The Lightning email composer does not support full page HTML. If you have email templates with styles in the tag, these styles are not applied to your emails. Similarly, inbound emails containing styles in the tag lose those styles when you reply with the Lightning email composer.
- Unlike the previous Knowledge Article Editor, the Lightning Article Editor
hasn't been translated into the following languages. But you can still use the
Lightning Article Editor to create articles for these languages.
- Afrikaans
- Albanian
- Basque
- Bosnian
- Bengali
- Catalan
- English (Australia)
- English (Canada)
- Estonian
- Farsi
- French (Canada)
- Georgian
- German (Switzerland)
- Gujarati
- Hindi
- Icelandic
- Khmer
- Latvian
- Lithuanian
- Macedonian
- Malay
- Serbian (Cyrillic)
- Serbian (Latin)
- Welsh
- Collapsible and expandable headings created in the Lightning editor aren’t shown when you view the knowledge article on an Experience Cloud site or insert the article into an email. Additionally, the accordion structure doesn’t display in the preview panel of the Knowledge article.
- The Lightning Editor is supported in Lightning Experience only. You can enable it for the Knowledge article editor or for the docked and case feed email composers in Email-to-Case through separate release updates.
- If you created articles or emails with the previous editor, they’re compatible
with the Lightning Editor. Enabling the Lightning Editor doesn’t change the look
and feel of the content that you created with the previous editor.
Note Content created in the Lightning Editor isn’t fully backward-compatible because the Lightning Editor includes features that aren’t in the previous editor. If you compose articles or emails with the Lightning Editor and then revert to using the previous editor, you can see style, content, or formatting issues. - To copy and paste web images into the editor, you must add the source as a Trusted URL. For example, for Google Docs, add
*.googleusercontent.com as the URL and select the
img-src(images) Content Security Policy (CSP) directive. If you don’t add the external source to your trusted URLs or the image is too large, you get an error.To paste images from Google Docs that reside on a Salesforce server into the editor, enable the Allow site for connect-src setting. Otherwise, the image is pasted as an external URL.
In the Lightning Editor, copying and pasting an image from a website will insert the image using its URL.
In the Lightning Editor, the ways you work with images, anchors, and links differ. When you edit Knowledge articles, how you work with smart links also differs. You can’t double-click these elements. Instead, right-click an element and select an action from the context menu. Or select the element and then click the relevant icon from the menu bar.
When copy and pasting an image into an email, note that the recipient won’t see an image from an external website that requires a user to log in. To work around this, download the image, then upload it manually using the Lightning composer image plugin.
- Unlike the previous Knowledge Article Editor, the Lightning Article Editor doesn’t generate unique URLs to anchors. Consequently, links to anchors direct you to the articles, but not to the specific anchor points in the articles. However, within articles, anchors still direct you to their specific locations.
- The Lightning Editor resizes the window vertically as you add lines of text. With the previous editor, the window size remains the same.
- You can enter Control-Right Click to check spelling in emails and Knowledge articles as you compose them. In the previous editor, you used Control-Click.
- The Lightning Editor supports only some keyboard shortcuts available in the
previous editor.
Here are the keyboard shortcuts that the Lightning Editor supports.
Keyboard Shortcut Support Action Shortcut on Windows Shortcut on Mac Bold Ctrl+B Cmd+B Italic Ctrl+I Cmd+I Underline Ctrl+U Cmd+U Select all Ctrl+A Cmd+A Redo Ctrl+Y or Ctrl+Shift+Z Cmd+Y or Cmd+Shift+Z Undo Ctrl+Z Cmd+Z Insert Heading 1 Alt+Shift+1 Ctrl+Opt+1 Insert Heading 2 Alt+Shift+2 Ctrl+Opt+2 Insert Heading 3 Alt+Shift+3 Ctrl+Opt+3 Insert Heading 4 Alt+Shift+4 Ctrl+Opt+4 Insert Heading 5 Alt+Shift+5 Ctrl+Opt+5 Insert Heading 6 Alt+Shift+6 Ctrl+Opt+6 Insert Paragraph Alt+Shift+7 Ctrl+Opt+7 Insert Division Alt+Shift+8 Ctrl+Opt+8 Insert Address Alt+Shift+9 Ctrl +Opt+9 Focus to Menu Bar Alt+F9 Opt+F9 Focus to Toolbar Alt+F10 Opt+F10 Focus to Element Path Alt+F11 Opt+F11 Focus to Contextual Toolbar Ctrl+F9 Ctrl+F9 Print Ctrl+P Cmd+P Open Help Dialog Alt+0 Opt+0 Insert Link (if link plug-in is activated) Ctrl+K Cmd+K Toggle Full Screen Ctrl+Shift+F Cmd+Shift+F Find (if search and replace plug-in activated) Ctrl+F Cmd+F Save Ctrl+S Cmd+S Here are the keyboard shortcuts for search and replace actions supported by the Source Code editor.
Source Code Editor Search and Replace Shortcut Support Action Shortcut on Windows Shortcut on Mac Find Ctrl+F Command+F Find the next instance Ctrl+G Command+G Find a previous instance Shift+Ctrl+G Shift+Command+G Replace Ctrl+H Command+Option+F Replace all Shift+Ctrl+R Shift+Command+Option+F - If you’re using a screen reader in a source code editor, use the shortcut key Command+G on Mac or Ctrl+G on Windows to jump to a specific line. The screen reader shows the line number and reads it aloud.
- The Lightning Editor supports HTML tags not supported by the previous editor.
Here’s a full list of the HTML tags the Lightning Editor supports.
<a><dt><s><abbr><em><samp><acronym><font><small><address><h1><span><b><h2><strike><bdo><h3><strong><big><h4><sub><blockquote><h5><summary>Email Composer doesn’t support the summary tag.
<br><h6><sup><caption><hr><table><center><i><tbody><cite><iframe><td><code><img><tfoot><col><ins><th><colgroup><kbd><thead><dd><li><tr><del><ol><tt><details>Email Composer doesn’t support the details tag.
<p><u><dfn><pre><ul><div><q><var><dl>
General Limitations
- The following message and UI labels from the Lightning Editor aren’t translated.
- This warning message from the Accessibility Checker:
This paragraph looks like a heading. If it is a heading, please select a heading level. - The UI labels for the Media option on the Insert menu and the title of the Media window aren’t translated.
- The UI label for the title of the Special Character window isn’t translated.
- This warning message from the Accessibility Checker:
- Embedding videos from sites that Salesforce doesn’t support causes the embedded HTML iframe to be removed when the article or email is saved. To prevent this issue, only embed videos from the approved video sites listed in Add Videos with the HTML Editor.
- Emoji doesn’t render for recipients of emails where the sending user and/or org haven’t enabled UTF-8 encoding, or where the recipient’s email client doesn’t support UTF-8 encoding. Learn how to update your email encoding.
- The Insert / Edit Media function in the Lightning Editor doesn’t support URLs of YouTube Live videos captured with the Share | Copy URL action provided by YouTube. To insert URLs of YouTube Live videos into the editor from YouTube, right-click the video and select Copy video URL. Then use the Insert / Edit Media function to insert the URL.
- If you apply a heading to a selected text, it’s sometimes applied to the entire email or article. A workaround is to insert an empty line or space after the selected text.
- When you’re resizing table rows and columns in the Lightning Editor, the adjusted table height and width CSS styles get applied to every table cell in the table’s source code.
- The word count in the Lightning Editor differs from the Source Code plug-in because the plug-in counts additional characters like styling tags.
Considerations for Knowledge Articles
- The Lightning Editor doesn’t support searching articles by Knowledge Article Number from the Smart Link window.
- When a Knowledge article includes a video and you save the article as a PDF, the image of the video shows as an empty place-holder.
- For Knowledge articles, you can upload images up to 1 MB from your computer.
- The links to article search results are based on the search filter and not the recently viewed list.
- The Lightning Editor converts linked text and email addresses into hyperlinks. If you remove those hyperlinks, they aren't included as hyperlinks in the Knowledge record. With the previous editor, links and email addresses are always hyperlinked.
- When you’re viewing content in Preview mode, all hyperlinks are inactive so that you can’t click and navigate away from the editor.
Limitations for Knowledge Articles
- A known issue causes deactivated Knowledge languages to appear on the language filter in the editor’s Smart Link window.
- A known issue causes the Create and Edit pop-up windows on the Lightning Editor to be misaligned when using the 1- or 2-column layout on console apps.
- A known issue causes windows with three-column layouts to be misaligned and partially hidden in the overlay in the Lightning Editor. The issue occurs sporadically and only in the Safari browser when the page layout width is narrow. To avoid the issue, use the Lightning Editor in full-screen layout mode when working in a Safari browser.
- The Lightning Article Editor doesn’t support pasting content from Microsoft Word OneDrive. Pasting content from the desktop version of Microsoft Word is supported.
Considerations and Limitations for Docked and Case Feed Email Composers in Email-to-Case
- If you copy a mix of text and images at the same time, only the images are pasted.
- In the docked and case feed email composers, you can insert images up to 5
MB.
If the image is smaller than the window, it fits in the window and isn’t expanded. If it’s larger than the window, the image is resized to fit the editor window.
- You can copy and paste an image into the editor using a keyboard shortcut or drag.
- When you upload and insert images, thumbnails don’t appear in the upload window as they did in the previous editor.

