text: !function(e){"use strict";e.extend(!0,e.trumbowyg,{langs:{en:{insertImage:"Insert Media"}},plugins:{insertImage:{init:function(a){var n={fn:function(){a.saveRange(),e("#mediaApp").detach().appendTo("#mediaModalBody .modal-body"),e("#mediaApp").show();e("#mediaModalBody").modal();e("#mediaSelectButton").on("click",function(n){var t=document.createTextNode('{{ "'+mediaApp.selectedMedia.mediaPath+'" | media_url | img_tag }}');return a.restoreRange(),a.range.deleteContents(),a.range.insertNode(t),a.syncTextarea(),e(document).trigger("contentpreview:render"),e("#mediaModalBody").modal("hide"),!0})}};a.addBtnDef("insertImage",n)}}}})}(jQuery);
  