ran

rangy

A cross-browser JavaScript range and selection library.

Showing:

15 Versions

1.3.0

Full release of Rangy 1.3. Changes since beta 2:

  • Amend Range.intersectsNode to conform to DOM4
  • Fixes for issues #164, #259, #293, #304, #305
  • Other minor tweaks and fixes

1.3.0-beta.2

Second beta release. Changes since beta 1:

  • Add handling for non-HTML namespace elements (such as <svg>) to class applier (issue #272)
  • Prevent class applier applying a class to text within <style>, <script> and some other elements (issue #281)
  • Changerangy.config.alertOnFail default value to false (issue #280)
  • Fix for XHTML documents (PR #290)
  • Prevent a sneaky scenario where "Discontiguous selection is not supported" warnings are generated in Chrome (issue #276)
  • Change feature test elements to be inserted at the start of the body rather than the end in an attempt to fix issue #292
  • Add type option to highlighter serialize() method (PR #291)
  • Add saveRanges() and restoreRanges() methods to selection for issue #279

1.3.0-beta.1

First beta release for version 1.3. Changes since the last alpha release:

  • Class applier: now supports applying/unapplying classes to empty elements such as <img> (issue #83)
  • Class applier: improved support for elementAttributes option (issue #206, issue #213)
  • AMD modules now return a copy of the main Rangy object (pull request #270)
  • Minor bugfixes

1.3.0-alpha.20140921

Fixes for the following issues:

  • Pull request #246: findText() bug when using regex (thanks to Ben Demboski)
  • Issue #248: IE 8 initializing too early
  • Issue #249: Error when using selection option in highlightSelection()

1.3.0-alpha.20140827

Internal tidying. No functional changes.

1.3.0-alpha.20140825

Includes a new feature:

  • ignoreCharacters option added to characterOptions used in TextRange module (issue #198)

Bugs fixed:

  • Global object issue #242

1.3.0-alpha.20140822.2

Fix for issue #241.

1.3.0-alpha.20140821.8

1.3.0-alpha.20140821.7

1.3.0-alpha.20140821.6

1.3.0-alpha.20140821.5

1.3.0-alpha.20140821.4

1.3.0-alpha.20140821.3

1.3.0-alpha.20140821.2

1.3.0-alpha.20140821