Skip to content

mdix/ipsum.js

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 

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