0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -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
@class="post-setting-canonicalUrl"
@name="post-setting-canonicalUrl"
@placeholder={{this.post.url}}
@value={{readonly this.canonicalUrlScratch}}
@input={{action (mut this.canonicalUrlScratch) value="target.value"}}
@focus-out={{action "setCanonicalUrl" this.canonicalUrlScratch}}