Skip to content

Commit

Permalink
minor: TreeView - printing for mark node
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed Aug 31, 2024
1 parent b35a8e6 commit a466168
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,8 @@
.filter(Boolean)
.join(' ')
.trim();
} else if (isMarkNode(node)) {
return `ids: [ ${node.getIDs().join(', ')} ]`;
} else if (isParagraphNode(node)) {
const formatText = printTextFormatProperties(node);
return formatText !== '' ? `{ ${formatText} }` : '';
Expand Down

0 comments on commit a466168

Please sign in to comment.