mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-01 05:50:35 +03:00
c019ef5cb0
refs https://github.com/TryGhost/Team/issues/931 - prototype button has served it's purpose in answering questions and is no longer being used - groundwork is left in place for future component-based atoms
19 lines
502 B
JavaScript
19 lines
502 B
JavaScript
// Atoms are effectively read-only inline cards
|
|
// Full docs: https://github.com/bustle/mobiledoc-kit/blob/master/ATOMS.md
|
|
|
|
// import createComponentAtom from '../utils/create-component-atom';
|
|
|
|
export const ATOM_COMPONENT_MAP = {};
|
|
|
|
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');
|
|
}
|
|
}
|
|
];
|