{{#koenig-card class="flex flex-column" isSelected=isSelected isEditing=isEditing selectCard=(action selectCard) deselectCard=(action deselectCard) onDeselect=(action "onDeselect") editCard=(action editCard) toolbar=toolbar hasEditMode=false showSelectedOutline=payload.html addParagraphAfterCard=addParagraphAfterCard moveCursorToPrevSection=moveCursorToPrevSection moveCursorToNextSection=moveCursorToNextSection editor=editor as |card| }} {{#if payload.html}}
{{#if (or isSelected (clean-basic-html payload.caption))}} {{card.captionInput caption=payload.caption update=(action "updateCaption") placeholder="Type caption for embed (optional)" }} {{/if}}
{{else}} {{#if convertUrl.isRunning}}
 
 
{{else if hasError}}
There was an error when parsing the URL.
{{else}} {{/if}} {{/if}} {{/koenig-card}}