TextExpander Support in Scripting Interface


This is not a huge thing, because I can work around it by avoiding that interface, but I would like if TextExpander shortcuts would (at least as an option) expand in the JavaScript editing interface.


Use the template engineā€¦it will expand snippets just like it does in action steps with templates using the <<shortcut>> syntax.

var s = draft.processTemplate("<<shortcut>>");