Editorial Workflows

Paste from iBooks

public workflow

Install Workflow...

This workflow contains at least one Python script. Only use it if you trust the person who shared this with you, and if you know exactly what it does.

I understand, install the 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: Paste text from iBooks, removes annoying Excerpt From message.

Shared by: https://rayalez.com

Comments: Comment Feed (RSS)

There are no comments yet.

+ Add Comment

Workflow Preview
Get Clipboard ?
Run Python Script ?
Source Code
#coding: utf-8
import workflow

text = workflow.get_input()

text = text.split("Excerpt From", 1)[0]

text = text.strip()

text = text[1:-1] # get rid of quotes

text += "\n"

Replace Selected Text ?
Replacement Text