Action
Separate paragraphs
Add an extra newline where there is only one.
Steps
-
script
draft.content = draft.content.replace(/(\n+)?\n/g, function($0, $1){ return $1 ? $0 : "\n\n"; } ); draft.update();
Options
-
After Success Default Notification Info Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.