@lyra/block-content-tests
Version:
Tests for shared block content rendering logic
24 lines (23 loc) • 437 B
JavaScript
module.exports = {
input: {
_key: 'R5FvMrjo',
_type: 'block',
children: [
{
_key: 'cZUQGmh4',
_type: 'span',
marks: [],
text: 'Span number one. '
},
{
_key: 'toaiCqIK',
_type: 'span',
marks: [],
text: 'And span number two.'
}
],
markDefs: [],
style: 'normal'
},
output: '<p>Span number one. And span number two.</p>'
}