UNPKG

substance

Version:

Substance is a JavaScript library for web-based content editing. It provides building blocks for realizing custom text editors and web-based publishing systems.

20 lines (15 loc) 346 B
/* * 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']) ) } }