mirror of
https://github.com/fastmail/Squire.git
synced 2024-12-22 15:23:29 -05:00
25ff83455e
This is a rebase/slight tidy of #226.
27 lines
1.1 KiB
JavaScript
27 lines
1.1 KiB
JavaScript
/*jshint ignore:start */
|
|
|
|
// Range.js exports
|
|
Squire.getNodeBefore = getNodeBefore;
|
|
Squire.getNodeAfter = getNodeAfter;
|
|
Squire.insertNodeInRange = insertNodeInRange;
|
|
Squire.extractContentsOfRange = extractContentsOfRange;
|
|
Squire.deleteContentsOfRange = deleteContentsOfRange;
|
|
Squire.insertTreeFragmentIntoRange = insertTreeFragmentIntoRange;
|
|
Squire.isNodeContainedInRange = isNodeContainedInRange;
|
|
Squire.moveRangeBoundariesDownTree = moveRangeBoundariesDownTree;
|
|
Squire.moveRangeBoundariesUpTree = moveRangeBoundariesUpTree;
|
|
Squire.getStartBlockOfRange = getStartBlockOfRange;
|
|
Squire.getEndBlockOfRange = getEndBlockOfRange;
|
|
Squire.contentWalker = contentWalker;
|
|
Squire.rangeDoesStartAtBlockBoundary = rangeDoesStartAtBlockBoundary;
|
|
Squire.rangeDoesEndAtBlockBoundary = rangeDoesEndAtBlockBoundary;
|
|
Squire.expandRangeToBlockBoundaries = expandRangeToBlockBoundaries;
|
|
|
|
// Clipboard.js exports
|
|
Squire.onPaste = onPaste;
|
|
|
|
// Editor.js exports
|
|
Squire.addLinks = addLinks;
|
|
Squire.splitBlock = splitBlock;
|
|
Squire.startSelectionId = startSelectionId;
|
|
Squire.endSelectionId = endSelectionId;
|