mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-21 01:41:46 +03:00
15 lines
393 B
JavaScript
15 lines
393 B
JavaScript
|
// Atoms are effectively read-only inline cards
|
||
|
// Full docs: https://github.com/bustle/mobiledoc-kit/blob/master/ATOMS.md
|
||
|
|
||
|
export default [
|
||
|
// soft-return is triggered by SHIFT+ENTER and allows for line breaks
|
||
|
// without creating paragraphs
|
||
|
{
|
||
|
name: 'soft-return',
|
||
|
type: 'dom',
|
||
|
render() {
|
||
|
return document.createElement('br');
|
||
|
}
|
||
|
}
|
||
|
];
|