2014-03-02 18:30:35 +04:00
|
|
|
<section class="entry-container">
|
|
|
|
<header>
|
|
|
|
<section class="box entry-title">
|
|
|
|
{{input type="text" id="entry-title" placeholder="Your Post Title" value=title tabindex="1"}}
|
|
|
|
</section>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<section class="entry-markdown active">
|
|
|
|
<header class="floatingheader">
|
|
|
|
<small>Markdown</small>
|
2014-03-31 08:07:05 +04:00
|
|
|
<a class="markdown-help" href="" {{action "openModal" "markdown"}}><span class="hidden">What is Markdown?</span></a>
|
2014-03-02 18:30:35 +04:00
|
|
|
</header>
|
|
|
|
<section id="entry-markdown-content" class="entry-markdown-content">
|
2014-03-04 00:18:10 +04:00
|
|
|
{{-codemirror value=markdown scrollPosition=view.scrollPosition}}
|
2014-03-02 18:30:35 +04:00
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<section class="entry-preview">
|
|
|
|
<header class="floatingheader">
|
|
|
|
<small>Preview <span class="entry-word-count js-entry-word-count">{{count-words markdown}} words</span></small>
|
|
|
|
</header>
|
2014-03-10 07:44:08 +04:00
|
|
|
<section class="entry-preview-content">
|
|
|
|
{{-markdown markdown=markdown scrollPosition=view.scrollPosition}}
|
|
|
|
</section>
|
2014-03-02 18:30:35 +04:00
|
|
|
</section>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
{{partial 'publish-bar'}}
|