Docs »

Automations »

interaction.worker »

Callers »

cerb.toolbar.eventHandlers.editor

An event handler editor.

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

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