{{!-- pop-up markup toolbar is shown when there's a selection --}} {{!-- pop-up link hover toolbar --}} {{!-- pop-up link editing toolbar --}} {{#if this.linkRange}} {{/if}} {{!-- (+) icon and pop-up menu --}} {{!-- slash menu popup --}} {{!-- all component cards wormholed into the editor canvas --}} {{#each this.componentCards as |card|}} {{#in-element card.destinationElement}} {{component card.componentName editor=this.editor postModel=card.postModel cardName=card.cardName payload=card.payload env=card.env options=card.options headerOffset=this.headerOffset saveCard=(action card.env.save) cancelCard=(action card.env.cancel) removeCard=(action card.env.remove) isSelected=card.isSelected isEditing=card.isEditing selectCard=(action "selectCard" card) deselectCard=(action "deselectCard" card) editCard=(action "editCard" card) deleteCard=(action "deleteCard" card) moveCursorToPrevSection=(action "moveCursorToPrevSection" card) moveCursorToNextSection=(action "moveCursorToNextSection" card) addParagraphAfterCard=(action "addParagraphAfterCard" card) registerComponent=(action (mut card.component)) }} {{/in-element}} {{/each}}