mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-25 20:03:12 +03:00
🎨 only focus editor body for new posts (#795)
closes https://github.com/TryGhost/Ghost/issues/8718 - only give focus to editor body when starting a new post - update the title and body placeholders
This commit is contained in:
parent
2ef4472523
commit
12e251df8e
@ -37,8 +37,8 @@
|
||||
--}}
|
||||
{{#gh-markdown-editor
|
||||
tabindex="2"
|
||||
placeholder="Now begin writing your story..."
|
||||
autofocus=true
|
||||
placeholder="Begin writing your story..."
|
||||
autofocus=model.isNew
|
||||
uploadedImageUrls=editor.uploadedImageUrls
|
||||
mobiledoc=(readonly model.scratch)
|
||||
isFullScreen=editor.isFullScreen
|
||||
@ -54,7 +54,7 @@
|
||||
<div class="gh-markdown-editor-pane">
|
||||
{{gh-textarea model.titleScratch
|
||||
class="gh-editor-title"
|
||||
placeholder="Your Post Title"
|
||||
placeholder="Post Title"
|
||||
tabindex="1"
|
||||
autoExpand=".gh-markdown-editor-pane"
|
||||
focusOut=(action "saveTitle")
|
||||
|
Loading…
Reference in New Issue
Block a user