Skip to content

Commit

Permalink
Transform the node with found index (richcontent)
Browse files Browse the repository at this point in the history
  • Loading branch information
basilegraf committed Oct 25, 2024
1 parent e18ee4e commit 1b43c6b
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 1b43c6b

Please sign in to comment.