Passed information about editor enter mode to the style object, when using editor#removeStyle() and editor#applyStyle().
Added comments.
Simplified condition - all enter modes are truly values.