Text Clips
Text clips are snippets of boilerplate text that can be inserted into text fields via the right-click context menu. They are also used as the source of shortcodes to expand for the autocompletion feature. Text clips should be defined using this syntax:
Category (optional) > Title
Text to be inserted
===
Category (optional) > Title
Text to be insertedThe category will appear as a submenu under Lightning Autofill → Insert text clip. You can organize your text clips using as many categories and subcategories as you like; the text to the right of the last > on the first line will always be the title. Separate each text clip with === on its own line. The text clip will be inserted at the caret position inside the text field, or replace whatever text you have selected. Text clips support {@variable_name} and {_variable_name} variable expansion. Here are a few sample text clips:
Business Card
Bob Smith
321 Test Dr
Beverly Hills, CA 90210
(310) 555-1212
===
Personal > Email > Gmail
bob@gmail.com
===
Personal > Email > Yahoo
bob@yahoo.com
===
Work > Email
bob@smith.com
===
Emojis > cool
🆒
===
Emojis > ic
👀👇 NOTE
Chrome has a limit of 998 total context menu items, four of which are already used by Lightning Autofill. This leaves us with a maximum of 994 text clips. Since categories are displayed as submenus and each submenu also takes up a menu item slot, use categories sparingly because each category used means one fewer text clip that can be defined.