Commits

Owen Nelson committed b96c63f

dropping in dom elements to hook jquery up to. (refs #1)

  • Participants
  • Parent commits d7fbbdf

Comments (0)

Files changed (2)

 syntax: glob
+.idea/*
 .project
 .pydevproject
 *.pyc

File wmd/static/wmd/wmd.js

     imageDialogText: 
         "<p style='margin-top: 0px'><b>Enter the image URL.</b></p>" + 
         "<p>You can also add a title, which will be displayed as a tool tip.</p>" +
-        "<p>Example:<br />http://wmd-editor.com/images/cloud1.jpg   \"Optional title\"</p>",
+        "<p>Example:<br />http://wmd-editor.com/images/cloud1.jpg   \"Optional title\"</p>" +
+        "<p><button class=\"access_fb\"><span>access filebrowser</span></button></p>",
+    
     linkDialogText: 
         "<p style='margin-top: 0px'><b>Enter the web address.</b></p>" + 
         "<p>You can also add a title, which will be displayed as a tool tip.</p>" + 
             });        
             var quoteButton = addButton("wmd-quote-button", "Blockquote <blockquote> Ctrl+Q", command.doBlockquote);
             var codeButton = addButton("wmd-code-button", "Code Sample <pre><code> Ctrl+K", command.doCode);
+
+            // and so it begins
             var imageButton = addButton("wmd-image-button", "Image <img> Ctrl+G", function(chunk, postProcessing, useDefaultText) {
                 return command.doLinkOrImage(chunk, postProcessing, true);
             });
+
             
             var spacer2 = addSpacer();