Tags: seakingii/mark.js
Tags
Implemented workaround for IE11 DOM normalize() bug Workaround for an ignored IE11 bug: https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/8727426/ Read more in #88 and #64
Implemented new 'acrossElements' option - Implemented new 'acrossElements' option to find matches located across multiple HTML elements (even across iframes) #46 - Huge internal refactoring, including a switch to NodeIterator and implementation of a new class 'DOMIterator' - Matches are now handled in the actual DOM tree order - Ignore duplicate contexts, even contexts within others - Ignore duplicate keywords - Sort array of keywords by length to make sure everything works as expected when having several partially identical keywords #49 - Moved parameter 'counter' of the 'filter' callback of .mark() after 'totalCounter' to be in accordance with .markRegExp() - Due to the internal refactoring mark.js now waites for iframes to be loaded until it starts marking matches (with or without 'acrossElement') – but only if iframes are enabled
PreviousNext