Hey, there! Look at our new WYSIWYG editor.
Documentation

Insertion

inserted #

Arguments
nodes Arrayarray of inserted nodes

Triggered after HTML is inserted via Insertion API.

$R('#content', {
    callbacks: {
        inserted: function(nodes)
        {
            // ...
        }
    }
});

Listen to the message in a plugin:

(function($R)
{
    $R.add('plugin', 'myplugin', {
        init: function(app)
        {
            // define app
            this.app = app;
        },

        // messages
        oninserted: function(nodes)
        {
            // ...
        }
    });
})(Redactor);