
export default {
  rules: [
    {
      deserialize(el, next) {
        switch (el.tagName) {
          case 'p': {
            return {
              kind: 'block',
              type: 'paragraph',
              nodes: next(el.children)
            }
          }
          case 'blockquote': {
            return {
              kind: 'block',
              type: 'quote',
              nodes: next(el.children)
            }
          }
        }
      }
    }
  ]
}
