/**
* @fileoverview: A plugin to add command to insert and/or replace content
*/
(function(pluginManager) {
var InsertCommand = function() {
var publicApi = {
insert: function(options) {
$.extend(options, {
execute: true
});
this.triggerEvent($.Arte.constants.eventNames.onbeforeinsert, options);
if (!options.execute) {
return;
}