/** @jsx h */ import h from '../helpers/h' export const config = { rules: [ { deserialize(el, next) { switch (el.tagName.toLowerCase()) { case 'p': { return { kind: 'block', type: 'paragraph', nodes: next(el.childNodes), } } } } } ], defaultBlock: { type: 'default', data: { thing: 'value' } } } export const input = `

one

two
`.trim() export const output = ( one two )