How to get HTML content from existing editor component

I have the Tiptap editor and I added it to my website by creating the instance of it on a given page

 <Editor resizable={true} />

Now I’d like to add button which takes the HTML representation of it and after click, saves it to database. How can I do that? Because now it’s only React component and I’m not sure how can I access it to get the HTML.