mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-24 23:48:13 -05:00
Fixed nft embed outline and missing snippet toolbar icon
refs https://github.com/TryGhost/Team/issues/1211 - the outline and snippet availability were toggled on `payload.html` presence which isn't set for nft embeds. Switched to toggling on `payload.type` instead as per the main rendered/blank slate conditional
This commit is contained in:
parent
4837249d89
commit
9a961a87a2
1 changed files with 2 additions and 2 deletions
|
@ -6,10 +6,10 @@
|
|||
@deselectCard={{action this.deselectCard}}
|
||||
@onDeselect={{action "onDeselect"}}
|
||||
@editCard={{action this.editCard}}
|
||||
@saveAsSnippet={{if this.payload.html this.saveAsSnippet}}
|
||||
@saveAsSnippet={{if this.payload.type this.saveAsSnippet}}
|
||||
@toolbar={{this.toolbar}}
|
||||
@hasEditMode={{false}}
|
||||
@showSelectedOutline={{this.payload.html}}
|
||||
@showSelectedOutline={{this.payload.type}}
|
||||
@addParagraphAfterCard={{this.addParagraphAfterCard}}
|
||||
@moveCursorToPrevSection={{this.moveCursorToPrevSection}}
|
||||
@moveCursorToNextSection={{this.moveCursorToNextSection}}
|
||||
|
|
Loading…
Add table
Reference in a new issue