2016-08-23 05:52:46 -05:00
|
|
|
/*jshint ignore:start */
|
|
|
|
|
2016-12-07 02:42:20 -05:00
|
|
|
// Node.js exports
|
|
|
|
Squire.isInline = isInline;
|
|
|
|
Squire.isBlock = isBlock;
|
|
|
|
Squire.isContainer = isContainer;
|
|
|
|
Squire.getBlockWalker = getBlockWalker;
|
|
|
|
Squire.getPreviousBlock = getPreviousBlock;
|
|
|
|
Squire.getNextBlock = getNextBlock;
|
|
|
|
Squire.areAlike = areAlike;
|
|
|
|
Squire.hasTagAttributes = hasTagAttributes;
|
|
|
|
Squire.getNearest = getNearest;
|
|
|
|
Squire.isOrContains = isOrContains;
|
|
|
|
Squire.detach = detach;
|
|
|
|
Squire.replaceWith = replaceWith;
|
|
|
|
Squire.empty = empty;
|
|
|
|
|
2016-08-23 05:52:46 -05:00
|
|
|
// 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
|
2020-07-08 01:12:32 -05:00
|
|
|
Squire.onCopy = _onCopy;
|
2016-08-23 05:52:46 -05:00
|
|
|
Squire.onPaste = onPaste;
|
|
|
|
|
|
|
|
// Editor.js exports
|
|
|
|
Squire.addLinks = addLinks;
|
|
|
|
Squire.splitBlock = splitBlock;
|
|
|
|
Squire.startSelectionId = startSelectionId;
|
|
|
|
Squire.endSelectionId = endSelectionId;
|