all files / packages/blockquote/ BlockquoteHTMLConverter.js

0% Statements 0/2
100% Branches 0/0
0% Functions 0/2
0% Lines 0/2
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20                                       
/*
 * HTML converter for Blockquote.
 */
export default {
 
  type: 'blockquote',
  tagName: 'blockquote',
 
  import: function(el, node, converter) {
    node.content = converter.annotatedText(el, [node.id, 'content'])
  },
 
  export: function(node, el, converter) {
    el.append(
      converter.annotatedText([node.id, 'content'])
    )
  }
 
}