Documentation
Insertion
inserted
nodes | Array | array 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);
dkjgvo65776inru43654