Skip to content

Instantly share code, notes, and snippets.

@gmac
Last active April 3, 2020 19:25
Show Gist options
  • Save gmac/c7347e059b84591f8dbbc65224da2c77 to your computer and use it in GitHub Desktop.
Save gmac/c7347e059b84591f8dbbc65224da2c77 to your computer and use it in GitHub Desktop.
module.exports = [
{ insert: 'a man ' },
{ insert: 'a plan', attributes: { italic: true } },
{ insert: ' ' },
{ insert: 'panama', attributes: { bold: true } },
{ insert: '\n' },
{ insert: 'hello', attributes: { italic: true } },
{ insert: ' goodbye\n' },
{ insert: 'bold', attributes: { bold: true } },
{ insert: ' ' },
{ insert: 'insert', attributes: { ins: true } },
{ insert: ' ' },
{ insert: 'italic', attributes: { italic: true } },
{ insert: ' ' },
{ insert: 'small', attributes: { small: true } },
{ insert: ' ' },
{ insert: 'strike', attributes: { strike: true } },
{ insert: ' ' },
{ insert: 'subscript', attributes: { subscript: true } },
{ insert: ' ' },
{ insert: 'superscript', attributes: { superscript: true } },
{ insert: '\n' },
{ insert: { image: { src: 'https://placekitten.com/200/150' } } },
{ insert: '\n', attributes: { grouping: '2-up' } },
{ insert: { image: { src: 'https://placekitten.com/200/150' } } },
{ insert: '\n', attributes: { grouping: '2-up' } },
{ insert: 'a man ' },
{ insert: 'a plan', attributes: { bold: true, italic: true, link: 'https://visitpanama.com' } },
{ insert: '\n' },
{ insert: 'helium' },
{ insert: '\n', attributes: { list: true } },
{ insert: 'neon' },
{ insert: '\n', attributes: { list: true } },
{ insert: 'argon' },
{ insert: '\n', attributes: { bullet: true } },
{ insert: 'krypton' },
{ insert: '\n', attributes: { bullet: true } },
{ insert: 'h1' },
{ insert: '\n', attributes: { firstheader: true } },
{ insert: 'h2' },
{ insert: '\n', attributes: { secondheader: true } },
{ insert: 'h3' },
{ insert: '\n', attributes: { thirdheader: true } },
{ insert: 'h4' },
{ insert: '\n', attributes: { fourthheader: true } },
{ insert: 'h5' },
{ insert: '\n', attributes: { fifthheader: true } },
{ insert: 'h6' },
{ insert: '\n', attributes: { sixthheader: true } },
{ insert: 'mali principii' },
{ insert: '\n', attributes: { paragraph: true } },
{ insert: 'malus finis' },
{ insert: '\n', attributes: { blockquote: true } },
{ insert: 'a man' },
{ insert: '\n', attributes: { br: true } },
{ insert: 'a plan' },
{ insert: '\n', attributes: { br: true } },
{ insert: 'panama' },
{ insert: '\n' },
{ insert: 'a man\n' },
{ insert: { hr: true } },
{ insert: '\n' },
{ insert: 'a plan' },
{ insert: 'mali principii' },
{ insert: '\n', attributes: { id: 'mali' } },
{ insert: { image: { src: 'https://placekitten.com/200/150' } } },
{ insert: '\n' }
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment