Action
Lines to Drafts
Converts each line in the current draft into a new draft, and trashes the original draft.
Steps
-
script
// See online documentation for examples // http://getdrafts.com/scripting var lines = draft.content.split("\n"); for (line in lines) { if (line === 0) continue; var d = Draft.create(); d.content = lines[line]; d.update(); }
Options
-
After Success Trash Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.