Issue #2589779 by Jelle_S, Wim Leers: Uncaught TypeError: Cannot set property 'float' of undefined when switching text formats