Ghost/core/server/apps/default-cards/cards/hr.js
Ryan McCarvill d0dc7c5ee1 📦 Card-Rename (#8218)
no issue
- Renames Cards so they comply with the `card-{{name}}` convention rather than `{{name}}-card`
- Adds an unkonwnCardHandler to the editor.
2017-03-24 10:03:33 +00:00

8 lines
134 B
JavaScript

module.exports = {
name: 'card-hr',
type: 'dom',
render(opts) {
return opts.env.dom.createElement('hr');
}
};