Ghost/ghost/admin/lib/koenig-editor/addon/options/cards.js
Kevin Ansfield 521b9dbb99 Koenig - Textarea-only markdown card
refs https://github.com/TryGhost/Ghost/issues/9311
- add `{{koenig-card-markdown}}` component that renders an auto expanding textarea with the markdown card value
- add `{{card-markdown}}` that is an alias of `{{koenig-card-markdown}}` for backwards compatibility - all of our pre-1.0 alpha cards and our current markdown implementation do not have the `koenig-` prefix in their card names
2018-01-31 08:32:27 +00:00

10 lines
324 B
JavaScript

import createComponentCard from '../utils/create-component-card';
export default [
createComponentCard('koenig-card-hr'),
createComponentCard('koenig-card-image'),
createComponentCard('koenig-card-markdown'),
// alias of koenig-card-markdown for backwards compat
createComponentCard('card-markdown')
];