Ghost/ghost/admin/lib/koenig-editor/addon/options/atoms.js
Kevin Ansfield c019ef5cb0 Removed prototype button atom
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
2021-07-23 09:21:03 +01:00

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');
}
}
];