Skip to content

whoisryosuke/sketch-lorem-ipsum-2017

 
 

Repository files navigation

Lorem Ipsum Generator for Sketch

A plugin for Sketch to insert Lorem Ipsum into any selected text fields. Originally by @richgong, I forked this to add more Lorem.

Currently features unique 10 paragraphs of Lorem Ipsum.

GIF of plugin being used in Sketch

Installation

  1. Download or clone this repository
  2. Double click the .sketchplugin file to open Sketch and install the plugin

How to use

  1. Select text fields
  2. Use the keyboard shortcut: Shift + Ctrl + L

You can also use the plugin from the menu (Plugins > Lorem Ipsum Generator > Fill out text fields)

Todo

  • Limit the amount of Lorem inserted by the text field size. Plugin currently shoves an entire paragraph into each text field, no matter the length, requiring users to manually delete text each time. Solution: Calculate length of text container + size of glyphs (see script from Sketch-Highlighter - search for textLayer.frame().size().width, and layoutManager.numberOfGlyphs();)
  • An actual Lipsum generator algorithm (without connecting to lipsum.com)

About

A Sketch plugin to generate "lorem ipsum" text.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published