Files changed (1)
-// Insert Zero-Width-Space characters into long text strings of textNode elements. Executed on page load.
-// This function alters table cells by inserting a zero-width-space into long text strings after every 5 characters.
-// The moin-wordbreak class is intended for use on TD elements, but may be used on TABLE, TR, THEAD, TBODY, or TFOOT.
- // Select all elements with the moin-wordbreak class and add all selectable descendants of those elements.
- // Then search for children that are textNodes; TDs or THs and elements descended from them are likely parents of textNodes.
- // \u200B denotes a zero-width-space character (for easy testing, replace with a visible character like Q)