Skip to content
/ ipsum.js Public

Selects all defined elems like p, a, td, h1..6 and adds more or removes some text by pressing alt+ or alt-

Notifications You must be signed in to change notification settings

mdix/ipsum.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ipsum.js

Preamble

Just a quick midnight implementation. Will... could... may... might be improved sooner or later. :)

Why?

Because it's a provides a quick and efficient way to check if a just designed webpage / webapp can cope with more, less or no text inside its text elements (happens often when using CMS).

Installation

Insert the script into your page and press alt+ or alt- to add / remove some text or alt 0 to remove the text completely. If you use bower you can install it via:

bower install ipsumjs

TODO

  • check if element contains childs
  • check if element is empty (this collides with clearing, maybe clear but leave a html comment so we can fill the elem again)

About

Selects all defined elems like p, a, td, h1..6 and adds more or removes some text by pressing alt+ or alt-

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •