79446700

Date: 2025-02-17 22:16:23
Score: 0.5
Natty:
Report link

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])

Reasons:
  • Whitelisted phrase (-2): I solved
  • Probably link only (1):
  • Low length (0.5):
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: cantCsharp