8000 Tags · julkue/mark.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Tags: julkue/mark.js

Tags

8.11.1

Toggle 8.11.1's commit message
Fix internal regular expression creation with synonyms with special c…

…haracters

8.11.0

Toggle 8.11.0's commit message
Implement ignorePunctuation option

This new option can be used in case you have special characters between words, e.g. setting this option to ["'"] would match "Worlds", "World's" and "Wo'rlds"

8.10.1

Toggle 8.10.1's commit message
Fix method calls on same instance when using different options

Update the internal DOM iterator when calling multiple methods on the same instance with different options. The bug appeared with the iframe option in the plain JS version of mark.js

Related issue: #137

8.10.0

Toggle 8.10.0's commit message
Implement .markRanges() method

Implements the long awaited feature to highlight ranges with start position and length. It can be used e.g. to highlight user selected texts or positions from third party libraries.

8.9.1

Toggle 8.9.1's commit message
Fix order in which iframe text nodes are handled

iframes need to be handled at the correct position, between the surrounding text nodes.

This bug was probably introduced in v8.0.0

8.9.0

Toggle 8.9.0's commit message
Implemented wildcard options

You can now use * and ?. If you have enabled the wildcards option you can double escape them to treat them as normal character, e.g. \\?.

8.8.3

Toggle 8.8.3's commit message
Ignore special characters in accuracy complementary

If special characters follow a word, then they will no longer be included in the highlight. For example with a sentence "(lorem)" and accuracy complementary, the entire sentence including parenthesis was highlighted. Now only "lorem".

8.8.2

Toggle 8.8.2's commit message
Prevent adding empty synonyms

Previously it was possible to specify a synonym with an empty string, which caused a browser freeze.

8.8.1

Toggle 8.8.1's commit message
Fix case insensitive diacritics mapping

There was a bug in the mapping of upper case characters and diacritics. For example a character "L" in the keyword didn't match "Ł" nor "ł". Only the lower case "l" matched them. This is now fixed.

8.8.0

Toggle 8.8.0's commit message
Implemented iframesTimeout option

In case the load event of an iframe isn't called – e.g. if there's no network connection or the user browses inside the "offline mode" and an iframe has an online "src" – mark.js wasn't able to complete the process for the rest of the site. The now implemented option `iframesTimeout` specifies the maximum ms to wait for a load event. If it's not fired in this time, the iframe will be silently skipped.
0