Get previous paragraph node using current paragraph node

I want to get previous paragraph from the document using current paragraph node in code. how can I get this done ?

@vedpathakpranit You can use Node.getPreviousSibling() property to get the node before the current node.

1 Like