2018-01-30 22:09:46 +01:00
|
|
|
{{!-- full height content pane --}}
|
|
|
|
<div class="gh-koenig-editor-pane" onclick={{action "focusEditor"}}>
|
|
|
|
{{gh-textarea title
|
|
|
|
class="gh-editor-title"
|
|
|
|
placeholder=titlePlaceholder
|
|
|
|
tabindex="1"
|
|
|
|
autoExpand=".gh-koenig-editor"
|
|
|
|
update=(action "onTitleChange")
|
|
|
|
focusOut=(action "onTitleFocusOut")
|
|
|
|
keyDown=(action "onTitleKeydown")
|
|
|
|
didCreateTextarea=(action "onTitleCreated")
|
|
|
|
}}
|
2018-01-30 11:01:07 +01:00
|
|
|
|
2018-01-30 22:09:46 +01:00
|
|
|
{{koenig-editor
|
|
|
|
mobiledoc=body
|
|
|
|
placeholder=bodyPlaceholder
|
|
|
|
autofocus=bodyAutofocus
|
|
|
|
spellcheck=true
|
|
|
|
onChange=(action "onBodyChange")
|
|
|
|
didCreateEditor=(action "onEditorCreated")
|
2018-02-04 20:35:44 +01:00
|
|
|
cursorDidExitAtTop=(action "focusTitle")
|
2018-01-30 22:09:46 +01:00
|
|
|
}}
|
2018-01-30 11:01:07 +01:00
|
|
|
</div>
|