Those scripts were created with a beta version of Editorial that had slightly different functions in the editor module. I've accidentally made the Gists public, but they were just intended for testing purposes and no longer work in the release version.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.