text: ﻿(function(){var n=Markdown.getSanitizingConverter(),t=$(".wmd-input");t.each(function(){var t=$(this).attr("id").substr(9),i=new Markdown.Editor(n,t,{handler:function(){window.open("http://daringfireball.net/projects/markdown/syntax")}});i.hooks.set("insertImageDialog",function(n){var r=$("#wmd-input"+t),f,u=r.selection?r.selection.createRange().text:null,i;return u&&(u=u.replace(/\<IMG/gi,"<editimg"),i=$(u).filter("editimg"),i.length&&(f={src:i.attr("src"),"class":i.attr("class"),style:i.css("cssText"),alt:i.attr("alt"),width:i.attr("width"),height:i.attr("height"),align:i.attr("align")})),r.trigger("orchard-admin-pickimage-open",{img:f,uploadMediaPath:r.data("mediapicker-uploadpath"),callback:function(t){n(t.img.src)}}),!0});i.run()})})();
  //# sourceMappingURL=orchard-markdown-media-picker.min.js.map
  