bililiteRange
undo
This is a plugin for bililiteRange that implements a simple undo/redo stack. It listens for input events (so to use it in IE
bililiteRange
undo
wrap
method for bililiteRange
I wanted to be able to wrap arbitrary text with HTML elements, so I added a wrap method to my bililiteRange routines. Now I can do something like bililiteRange(el).find(/foo/).wrap(document.createElement('strong')) and I have instant highlighting! It obviously can only work if the range is defined on an actual HTML element, not on the text of a […]
bililiteRange
PluginsbililiteRange