Skip to content

Commit

Permalink
Merge pull request #12 from basilegraf/fix-richcontent-display-at-level1
Browse files Browse the repository at this point in the history
Transform the node with found index (richcontent)
  • Loading branch information
bekoeppel authored Nov 1, 2024
2 parents e18ee4e + 1b43c6b commit b21b32c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ public MindmapNode(Node node, MindmapNode parentNode, Mindmap mindmap) {
try {
Transformer transformer = TransformerFactory.newInstance().newTransformer();
ByteArrayOutputStream boas = new ByteArrayOutputStream();
transformer.transform(new DOMSource(richtextNodeList.item(0)), new StreamResult(boas));
transformer.transform(new DOMSource(richtextNodeList.item(i)), new StreamResult(boas));
richTextContent = boas.toString();
} catch (TransformerException e) {
e.printStackTrace();
Expand Down

0 comments on commit b21b32c

Please sign in to comment.