Looks like there are some other issues related to this also: https://github.com/ueberdosis/tiptap/discussions/3196
This is how I solved it:
useEffect(() => {
if (!(editor && value && value !== editor.getHTML())) return
editor.commands.setContent(value)
}, [value, editor])