Last active
January 9, 2018 04:29
-
-
Save fchasen/dffdfefe32693159940c29d80df027a5 to your computer and use it in GitHub Desktop.
Flow brainstorming
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let flow = new Flow("#someid"); | |
let page = flow.pages(":first"); | |
page.toRange(); | |
let words = flow.pages().sentences(":last").words(-3); | |
words.wrap("<span class='no-break'>"); | |
words.breakBefore(); | |
words.breakAfter(); | |
word.get(":last").insertAfter("!"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment