Create a new draft with the contents of the current draft, then select the contents of the new draft. Allows you to easily duplicate a draft or start from a blank slate.
// See online documentation for examples // http://drafts5-help.agiletortoise.com/ const newDraft = Draft.create() newDraft.content = draft.content newDraft.update() editor.load(newDraft) editor.focus() editor.setSelectedRange(0, newDraft.content.length)
After Success Default Notification Info Log Level Info
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.