{{#gh-editor editorScrollInfo=editorScrollInfo as |ghEditor|}}
{{#gh-view-title classNames="gh-editor-title" openMobileMenu="openMobileMenu"}} {{gh-trim-focus-input type="text" id="entry-title" class="gh-input" placeholder="Your Post Title" value=model.titleScratch tabindex="1" focus=shouldFocusTitle}} {{/gh-view-title}}
{{gh-editor-save-button isPublished=model.isPublished willPublish=willPublish postOrPage=postOrPage isNew=model.isNew save="save" setSaveType="setSaveType" delete="openDeleteModal" submitting=submitting }}
Markdown
{{gh-ed-editor classNames="markdown-editor js-markdown-editor" tabindex="1" spellcheck="true" value=model.scratch setEditor="setEditor" updateScrollInfo="updateEditorScrollInfo" openModal="openModal" onFocusIn="autoSaveNew" height=height focus=shouldFocusEditor}}
Preview {{gh-count-words model.scratch}}
{{gh-ed-preview classNames="rendered-markdown js-rendered-markdown" markdown=model.scratch scrollPosition=ghEditor.scrollPosition updateHeight="updateHeight" uploadStarted="disableEditor" uploadFinished="enableEditor" uploadSuccess="handleImgUpload"}}
{{/gh-editor}}