github xdan/jodit 4.12.29

7 hours ago

🐛 Bug Fix

  • Event emitter (memory hygiene in SPA / Shadow DOM): EventEmitter stores its per-subject handler namespaces under a __JoditEventEmitterNamespaces<timestamp> property, but on off()/destruct() it only set that property to undefined instead of removing it. On long-lived subjects such as window, repeatedly creating and destroying editors in a single-page application left a growing pile of leftover undefined keys on the object. The property is now deleted on cleanup, so nothing lingers after destruct(). Reported by Ralf Pichler (uniquare.com, Jodit OEM).

Don't miss a new jodit release

NewReleases is sending notifications on new releases.