mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 02:11:44 +03:00
e43ef8c7b5
no issue - Renames Cards so they comply with the `card-{{name}}` convention rather than `{{name}}-card` - Adds a unkonwnCardHandler to the editor.
14 lines
379 B
JavaScript
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;
|