alohaeditor/Aloha-Editor — pull request #622 by wimleers (2012-07-27 14:45:08+00:00)
Title: Add 'block-activate' and 'block-deactivate' events for blocks.

The `block-selection-change` is cumbersome to rely on when you don't care about the *global* state of "which blocks are selected?" but when you do care about the *local* state of each block, i.e. when you want to do things whenever a block gets focus or loses focus.

Hence the addition of these two events to `block.js`.