FIX setState(-1) is unable to disable Bold, Italic and Underline biuttons
1 comment
ADMIN
Nikolay
Posted on:17 Mar 2016 13:45
Actually, setState(-1) disables the state but after that another selectionChange handler enables it. Changing the state should be called with a delay.
setTimeout(function(){oTool.setState(-1);}, 0) ;