Hey folks, I’ve been working on a project which involves the Ghost CMS, and was hoping to expand on the Koeing card feature. Ultimately, I’m looking to add new cards and get rid of the old ones (read: default). Deletion of the old cards went well, so that’s not a concern. Background: I’ve been doing FE development on Ghost for about a year now, so I have a good understanding of the platform’s general workings.
What I’m hung up on is understanding how Koenig works. To me, it looks like there’s two components to each card, a koenig-card-CARDNAME.js and a koenig-card-CARDNAME.hbs. There’s also a requirement to register these cards in the cards.js file. I can create new cards, add them in, however they fail to render, with console logs making it clear that there’s a lot more required to add a new card.
So, my main questions are therefore:
- How do I register a new card, what has to be done to make it usable in the editor;
- What do the fields in the CARD_MENU.items object do;
- Is there any developer documentation anywhere that I can dig into?
Thanks in advance!
Update: The use case assumes a non-technical end user who is not comfortable with HTML, but needs to create specific layouts. My objective is to eliminate direct contact with HTML for the user, and letting them populate text blocks within clearly defined areas.