Docs »

Automations »

interaction.worker »

Callers »

cerb.toolbar.editor.automation.script

Parameters

The following caller_params are passed to the interaction:

Key Type  
trigger string The automation trigger of the event handlers
selected_text string The currently selected editor text
token_path string  
cursor_row int  
cursor_column int  
value string  

return:

The caller expects the following return: dictionary:

Req’d Key Type  
  snippet string A snippet of text to insert in the editor at the cursor