Paste as Plain Text
Paste contents of clipboard.
// paste clipboard let text = app.getClipboard(); let [st, len] = editor.getSelectedRange(); editor.setSelectedText(text); editor.setSelectedRange(st+text.length, 0);
After Success Default Notification Error Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.