Editorial Workflows

Unlock Widows & Orphans

public workflow

Install Workflow

This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.

Description: This is the companion workflow to “Lock Widows & Orphans.” It simply strips out the nonbreaking spaces the other workflow adds. It’s great for unlocking sections of your copy if you need to change or edit something.

Like it’s sibling, you can apply this workflow only to the lines you select, but if you select nothing, it’ll affect the whole document.

Get “Lock Widows & Orphans” here: http://www.editorial-workflows.com/workflow/5788548716298240/FDDgmQcd_Qs

Shared by: Phil Selman

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
If… ?
Run the block if
Selected Text
  • is Equal to
  • is Not Equal to
  • Contains
  • Doesn't Contain
  • Matches Regular Expression
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
…End If
Extend Selection ?
Direction
  • Backward
  • Forward
  • Both
Unit
  • Start/End of Document
  • Start/End of Line
  • Number of Characters...
1
Find / Replace ?
Find
&nbsp;([^.|!|?|<|>|=| ]*(\.|!|\?))
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
$1
Find / Replace ?
Find
(&nbsp;)([^ ]*</p>)
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
$2
Find / Replace ?
Find
([.|!|?]\s[^\s]+)&nbsp;
  • Case-insensitive (A = a)
  • Case-sensitive (A ≠ a)
  • Regular Expression
Replace with
$1
Replace Selected Text ?
Replacement Text
Input