Hello,
I’d like to reproduce in TW something like Notions’ slash command, basically an autocompletion popup menu that does not only insert a snippet in the focus field, but that can do any $action.
I would use this typically to set fields or tags without leaving the text field (e.g. typing /todo could add a field status=TODO), when writing “inline” notes with Streams, to have a date selector popup to insert the date at the caret, without clicking a button or remembering a keyboard shortcut.
Is that doable with EvidentlyCube/Autocomplete, or another existing plugin, or should I do it from scratch?
I’m guessing that it may use of the inputActions parameter of $edit-text, but where to add such inputAction to any text input field?
Thanks!