markdown text in composer

This commit is contained in:
Baris Soner Usakli
2014-01-17 17:07:09 -05:00
parent 7752d24b21
commit 25b50323fa
2 changed files with 10 additions and 3 deletions

View File

@@ -402,7 +402,9 @@ define(['taskbar'], function(taskbar) {
}
if(config.imgurClientIDSet) {
postContainer.find('.upload-instructions').removeClass('hide');
if(env === 'md' || env === 'lg') {
postContainer.find('.upload-instructions').removeClass('hide');
}
postContainer.find('.img-upload-btn').removeClass('hide');
}

View File

@@ -38,8 +38,13 @@
</div>
<div class="imagedrop"><div>Drag and Drop Images Here</div></div>
<div class="text-center upload-instructions hide visible-lg visible-md">
<small>Upload images by dragging & dropping them</small>
<div class="text-center">
<span>
<small>Content is parsed with <a href="http://daringfireball.net/projects/markdown/syntax">Markdown</a>. </small>
<span class="upload-instructions hide"><small>Upload images by dragging & dropping them.</small></span>
</span>
</div>
<div class="resizer"><div class="trigger text-center"><i class="fa fa-chevron-up"></i></div></div>