A TL431 closely resembles an OPAMP with an open collector output, with its +in internally connected to a 2.5V reference and not user accessible. As the only input you have is the -in, all DC feedback is inherently negative and therefore hysteresis, which requires positive feedback is impossible without another active device acting to invert its output. If you are using it to pull down a P-MOSFET pass transistor gate, its tempting to tap additional feedback from the drain, but that can result in load dependent instability, so its much safer to use a separate small signal P-MOSFET to bypass part of the upper part of the feedback divider or switch in a high value resistor in parallel to achieve the shift in setpoint required to proviide the required hysteresis band. The EDN circuit you linked works on the same principle but increases the part count by using a PNP BJT, which needs base resistors.
The StackExchange TL431 window comparator is from a depreciated (2004) copy of the Texas Instruments TL431 datasheet
[here]. The
current datasheet (rev. 2018) totally omits any such circuit. I believe that would be because its fundamentally flawed - depending on tolerances there's no guarantee that the left TL431's output low level is below the reference voltage of the right TL431. To fix it you need to insert an extra resistor in the middle of the R1B, R2B divider chain with the left TL431 cathode above it and the right TL431 Ref below it.
You can apply hysteresis to the right TL431 for the undervoltage threshold easily enough, but applying hysteresis to the left one for the overvoltage threshold is much trickier.
I'm with Magic on this: If you want a window function, the TL431 is seriously sub-optimal. The cheapest option is probably a 'jellybean' dual comparator with push-pull outputs, fed from a jellybean low power regulator so the reference can be a simple divider from its supply, with its outputs NORed together with a common cathode dual diode. Three semiconductors and a sprinkling of passives.
Of course you *CAN* pay boutique prices for dual comparators with a reference in the same package but finding one with adjustable hysteresis for both thresholds isn't easy and you'll probably not be able to easily second source it.