Video Tip: Drag and drop text directly on actions

tip

#1

Actions can have text dragged and dropped directly to them in Drafts 5. Ready handy for collecting information, researching on the web and a lot more.


#2

@agiletortoise From the perspective of the JavaScript API, what does the dragged text come through as? As a Draft, and/or with an implicit Editor?


#3

A temporary draft object is created with the text…so you can manipulate it as a draft. It will be discarded at the end of the action unless something in the action explicitly saves it by calling draft.update();

It will not be loaded in the editor…similar to using the /runAction URL scheme to pass text and run an action.