webmodules's repositories
load-styles
Add a CSS <style> tag to the document's <head> node
node-iterator
A ES6 Generator that traverses the child nodes within the given `Node`
range-iterator
ES6 Iterator that iterates over the Nodes of a Range
range-equals
Compare two DOM ranges for equality
link-command
"createLink" and "unlink" native commands packaged as a Command
unwrap-node
Unwraps a given DOM element and returns a Range surrounding its child nodes
range-insert-node
Cross-browser polyfill for `Range#insertNode()`
range-position
Determine where a collapsed Range is positioned relative to a DOM Node
current-selection
Returns a `Selection` instance from the current document selection
frozen-range
Store a Range in a non-live representation for later use.
indent-command
Command implementation for cross-browser normalization of the "indent" command
list-command
Command implementation for (un)ordered lists
padding-command
Adjusts the padding of the selected paragraphs by a given amount (delta).
wrap-command
Command implementation based on `wrap-range` and `unwrap-range`
abstract-command
Abstract `Command` base class to make implementing custom commands easier
current-range
Returns a `Range` instance from the current document selection
dom-regexp-match
Creates Range instances within an HTML Element that select text matching a RegExp
find-within
Traverses "down" the child nodes hierarchy in order to find a Node within
header-command
Command implementation for header tags ("h1", "h2", "h3", etc.)
outdent-command
A Command implementation that removes the nearest BLOCKQUOTE element from the DOM
prepend-child
The inverse of `Element#appendChild()`.
selection-set-range
Sets the passed in `range` onto the given `selection`, removing any previous selection
blockquote-command
Command implementation for inserting a BLOCKQUOTE node
data-transfer-is-file
Detect if dataTransfer object contains files in its types property
native-command
`document.execCommand()` wrapper implementing the Command interface
range-extract-contents
Cross-browser polyfill for `Range#extractContents()`
selection-token
Makes a DOM Element respect "selection tokens"