Action
Removes everything except selected text
This action deletes everything from the currect draft except the selected text. If nothing is selected, the text remains unchanged.
Steps
-
script
const selectedText = editor.getSelectedText(); if (editor.getSelectedText().length === 0) { } else { draft.content = selectedText; }
Options
-
After Success Nothing Notification Error Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.