|
You can get state of every top toolbar toggle button for current selection or caret position.
The following client-side Editor object methods allow you do it.
Every function returns true/false.
For example, if the caret is inside bold text, the boldState() function will return true, otherwise false.
| |