mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
9a0b72071d
refs https://github.com/TryGhost/Ghost/issues/8106, https://github.com/TryGhost/Ghost/issues/7429, requires https://github.com/TryGhost/Ghost/pull/8137 -Adds new "card" menus - Navigation with keyboard in both axis. - Search with keyboard in both menus. - Adds a "+" Menu for cards - Adds a "/" Menu for cards - if the block has content and it becomes a markdown or HTML Embed card then the content is included into the card. - Image and HR cards appear below the current section - Adds new toolbar with both inline and block styling. - Adds a new 'divider' card.
14 lines
379 B
JavaScript
14 lines
379 B
JavaScript
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';
|
|
|
|
let cards = [];
|
|
|
|
[htmlCard, imageCard, markdownCard, hrCard].forEach((_card) => {
|
|
_card.type = 'dom';
|
|
cards.push(_card);
|
|
});
|
|
|
|
export default cards;
|