Releases: angezid/advanced-mark.js
Releases · angezid/advanced-mark.js
Version 2.6.0
Version 2.5.0
- Added ability to select iframe elements when using non-jQuery libraries and iframe elements are dynamically created by javascript.
- Fixed multiple wrapping of highlighted text in mark elements that can occur on some conditions with
iframes
option (page contains several iframes and selecting several contexts). Previous 2.x.x versions correctly handle only one context. - Fixed bug that is related to old browsers in DOMIterator class, e.g. IE11. (introduced in v2.4.1)
Version 2.4.2
- Fixed bug that occurs in
markRanges()
API then an array of ranges have a single item and a rangestart
property is zero.
Version 2.4.1
- Fixed infinite loop that can occur with
ignoreGroups
option in markRegExp() API with the conditional main group. - Fixed missing window object of the Node interface (causes an exception in virtual DOM environments when context is an array of elements).
Version 2.4.0
- Fixed handling escaped wildcards characters (backslashes were stripped from searching string, e.g. 'C:\\\\*' resulted in 'C:\\*' and is treated as escape '*', not a wildcard)
- Fixed breaking UTF-16 surrogate pairs and continues pairs of backslashes by joiners/punctuation
- Slightly reduce a code size
Version 2.3.0
- Added
preserveTerms
value forseparateWordSearch
option that allows highlight exact term(s) alone side with separate word(s). - Added
'startsWith'
value for accuracy option that allows highlight whole word(s) just typing the start of it(s). It also works withpreserveTerms
.
Version 2.2.0
- Added ability to mark line ranges (
markRanges()
API withmarkLines
option). - Fixed handling
br
element ingetTextNodesAcross()
method. - Fixed negative value of the start index in
wrapRangeAcross()
method withwrapAllRanges
option, which can occur in some cases. - An improvement that allows usage of RegExp conditional capturing groups with
ignoreGroups
option inmarkRegExp()
API.
Version 2.1.2
- Fixed problem with 'jquery.mark.es6.js' module by adding
node.jquery.mark.es6.js
module, which containsimport $ from 'jquery';
statement necessary on Node.js. - Added missing
őŐűŰ
diacritic characters in RegExpCreator class.
Version 1.1.2
- Fixed bug related using a wildcards character
*
withwildcards : 'withSpaces'
,acrossElements
, andblockElementBoundary
options. - Fixed types path in package.json.
Version 2.1.1
- Fixed debug logging to the console
- Improved detection of custom window object and as a result getting clear error message