Ghost/ghost/admin/lib/gh-koenig/addon/cards/index.js

14 lines
379 B
JavaScript
Raw Normal View History

2017-03-01 21:50:08 +03:00
import htmlCard from 'gh-koenig/cards/html-card_dom';
import imageCard from 'gh-koenig/cards/image-card_dom';
import markdownCard from 'gh-koenig/cards/markdown-card_dom';
import hrCard from 'gh-koenig/cards/hr-card_dom';
2017-03-01 21:50:08 +03:00
let cards = [];
[htmlCard, imageCard, markdownCard, hrCard].forEach((_card) => {
_card.type = 'dom';
cards.push(_card);
2017-03-01 21:50:08 +03:00
});
export default cards;