mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-22 10:21:36 +03:00
77fa4439de
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
10 lines
374 B
JavaScript
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')
|
|
];
|