Ghost/ghost/admin/lib/koenig-editor/addon/options/cards.js
Kevin Ansfield 77fa4439de Koenig - Add card options for automatic edit/select after insert
no issue
- allows specifying Koenig-specific card options via `createComponentCard`
- respect `hasEditMode` and `selectAfterInsert` options when inserting cards via the (+) and / menus
- do not select divider card after insertion
2018-04-18 10:52:49 +01:00

10 lines
374 B
JavaScript

import createComponentCard from '../utils/create-component-card';
export default [
createComponentCard('hr', {hasEditMode: false, selectAfterInsert: false}),
createComponentCard('image', {hasEditMode: false}),
createComponentCard('markdown'),
createComponentCard('card-markdown'), // backwards-compat with markdown editor
createComponentCard('html')
];