2014-05-31 22:32:22 +04:00
|
|
|
<header>
|
|
|
|
<section class="box entry-title">
|
2014-06-23 18:27:09 +04:00
|
|
|
{{gh-focus-input type="text" id="entry-title" placeholder="Your Post Title" value=title tabindex="1"}}
|
2014-05-31 22:32:22 +04:00
|
|
|
</section>
|
|
|
|
</header>
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2014-05-31 22:32:22 +04:00
|
|
|
<section class="entry-markdown active">
|
|
|
|
<header class="floatingheader">
|
|
|
|
<small>Markdown</small>
|
|
|
|
<a class="markdown-help" href="" {{action "openModal" "markdown"}}><span class="hidden">What is Markdown?</span></a>
|
|
|
|
</header>
|
|
|
|
<section id="entry-markdown-content" class="entry-markdown-content">
|
2014-06-06 05:18:03 +04:00
|
|
|
{{gh-codemirror value=scratch scrollInfo=view.markdownScrollInfo action="setCodeMirror"}}
|
2014-03-02 18:30:35 +04:00
|
|
|
</section>
|
2014-05-31 22:32:22 +04:00
|
|
|
</section>
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2014-05-31 22:32:22 +04:00
|
|
|
<section class="entry-preview">
|
|
|
|
<header class="floatingheader">
|
2014-06-06 05:18:03 +04:00
|
|
|
<small>Preview <span class="entry-word-count js-entry-word-count">{{gh-count-words scratch}}</span></small>
|
2014-05-31 22:32:22 +04:00
|
|
|
</header>
|
|
|
|
<section class="entry-preview-content">
|
2014-06-06 05:18:03 +04:00
|
|
|
{{gh-markdown markdown=scratch scrollPosition=view.scrollPosition
|
|
|
|
uploadStarted="disableCodeMirror" uploadFinished="enableCodeMirror" uploadSuccess="handleImgUpload"}}
|
2014-03-02 18:30:35 +04:00
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
2014-06-02 00:29:25 +04:00
|
|
|
{{partial "publish-bar"}}
|