rangy

A cross-browser JavaScript range and selection library.

MIT License

Downloads
140.3K
Stars
2.2K
Committers
13

Bot releases are visible (Hide)

rangy - 1.3.1 Latest Release

Published by timdown about 2 years ago

Full Changelog: https://github.com/timdown/rangy/compare/1.3.0...1.3.1

Bugfix and minor new feature release. Changes since 1.3.0:

  • Added setBaseAndExtent() on selection
  • Added type property to selection
  • Added parentElement() on range
  • Class applier: fix bug (see #454). Turns out I fixed this in 2015 but never rebuilt and published.
rangy - 1.3.0

Published by timdown over 9 years ago

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
rangy - 1.2.3

Published by timdown over 9 years ago

Most recent stable 1.2 release from 26 February 2012.

rangy - 1.3.0-beta.2

Published by timdown over 9 years ago

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
rangy - 1.3.0-beta.1

Published by timdown over 9 years ago

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
rangy - 1.3.0-alpha.20150122

Published by timdown over 9 years ago

  • Fixes various minor issues, mostly in the Class Applier module
  • Change Bower package name from rangy-official to rangy (thanks to Dom Barker for releasing the rangy package name)
rangy - 1.3.0-alpha.20140921

Published by timdown about 10 years ago

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()
rangy - 1.3.0-alpha.20140827

Published by timdown about 10 years ago

Internal tidying. No functional changes.

rangy - 1.3.0-alpha.20140825

Published by timdown about 10 years ago

Includes a new feature:

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

Bugs fixed:

  • Global object issue #242
rangy - 1.3.0-alpha.20140822.2

Published by timdown about 10 years ago

Fix for issue #241.

rangy - 1.3.0-alpha.20140822

Published by timdown about 10 years ago

Latest alpha release of Rangy 1.3. Added support for Browserify and Bower plus minor enhancements and bugfixes:

  • Fixed AMD issue #230
  • Rangy now auto-initializes if the document has already loaded and rangy.config.autoInitialize is true (thanks to Philip Peitsch)
  • Added exclusive option to highlighter module when highlighting and improved merging of highlights from pull request #228 (thanks to Vittorio)
rangy - 1.3alpha.20140804

Published by timdown about 10 years ago

Fixed bug (#229) that meant all modules were broken in the last release.

rangy - 1.3alpha.20140801

Published by timdown about 10 years ago

Latest alpha release of Rangy 1.3. Contains minor enhancements and bugfixes:

  • AMD support (I think)
  • Suppressed "Discontiguous selection is not supported" errors in Chrome
  • Renamed rangy-cssclassapplier.js to rangy-classapplier.js
  • Added rangy.config.autoInitialize config option. Default is true
  • Added getNativeTextRange() method to selection
  • Modules now initialize automatically if core has already initialized
  • Build script now works on non-Windows platforms
rangy - 1.3alpha.20140716

Published by timdown over 10 years ago

Latest alpha release of Rangy 1.3. Contains minor enhancements and bugfixes and some changes to bring Range implementation in line with DOM4:

  • detach() is now a no-op
  • RangeException is gone; it's all DOMExceptions now.
rangy - 1.3alpha.20140706

Published by timdown over 10 years ago

Latest alpha release of Rangy 1.3. Fixes several bugs:

  • Issue #184
  • Issue #186
  • Issue #199
  • Issue #202