1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | 20× 20× | export default { type: "list-item", matchElement: function(el) { return el.is('li') }, import: function(el, node, converter) { node.content = converter.annotatedText(el, [node.id, 'content']) }, export: function(node, el, converter) { el.append(converter.annotatedText(node.getTextPath())) } } |