0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-25 02:31:59 -05:00

Set canonical post placeholder value to post URL

This commit is contained in:
Djordje Vlaisavljevic 2022-07-13 16:59:28 +02:00
parent a644cc14c1
commit 1158555084

View file

@ -233,6 +233,7 @@
<GhTextInput <GhTextInput
@class="post-setting-canonicalUrl" @class="post-setting-canonicalUrl"
@name="post-setting-canonicalUrl" @name="post-setting-canonicalUrl"
@placeholder={{this.post.url}}
@value={{readonly this.canonicalUrlScratch}} @value={{readonly this.canonicalUrlScratch}}
@input={{action (mut this.canonicalUrlScratch) value="target.value"}} @input={{action (mut this.canonicalUrlScratch) value="target.value"}}
@focus-out={{action "setCanonicalUrl" this.canonicalUrlScratch}} @focus-out={{action "setCanonicalUrl" this.canonicalUrlScratch}}