block.set #

Occurs whenever a block selected.

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    subscribe: {
        'block.set': function() {
            ...
        }
    }
});

block.unset #

Occurs whenever a block unselected.

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    subscribe: {
        'block.unset': function() {
            ...
        }
    }
});

block.add #

Arguments
instance ObjectInstance of the added block.

Occurs whenever a block added with the addbar.

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    subscribe: {
        'block.add': function(event) {
            ...
        }
    }
});

block.change #

Arguments
instance ObjectInstance of the changed block.

Occurs whenever a block changed. At the moment works only when the embed or code content is changed.

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    subscribe: {
        'block.change': function(event) {
            ...
        }
    }
});

block.format #

Arguments
instance ObjectInstance of the formatted block.

Occurs whenever a block formatted.

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    subscribe: {
        'block.format': function(event) {
            ...
        }
    }
});

block.remove #

Arguments
type StringType of the removed block.
parent ObjectParent instance of the removed block.

Occurs whenever a block removed.

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    subscribe: {
        'block.remove': function(event) {
            ...
        }
    }
});

block.duplicate #

Arguments
instance ObjectInstance of the new block.

Occurs whenever a block duplicated.

ArticleEditor('#entry', {
    css: '/your-article-dist-path/',
    subscribe: {
        'block.duplicate': function(event) {
            ...
        }
    }
});