Ghost/ghost/admin/lib/gh-koenig/addon/cards/index.js
Ryan McCarvill e43ef8c7b5 📦 Card-Rename (#603)
no issue
- Renames Cards so they comply with the `card-{{name}}` convention rather than `{{name}}-card`
- Adds a unkonwnCardHandler to the editor.
2017-03-24 10:03:52 +00:00

14 lines
379 B
JavaScript

import htmlCard from 'gh-koenig/cards/card-html_dom';
import imageCard from 'gh-koenig/cards/card-image_dom';
import markdownCard from 'gh-koenig/cards/card-markdown_dom';
import hrCard from 'gh-koenig/cards/card-hr_dom';
let cards = [];
[htmlCard, imageCard, markdownCard, hrCard].forEach((_card) => {
_card.type = 'dom';
cards.push(_card);
});
export default cards;