Issue with Rich Text Editor and Events

I'm having the same issue reported in this thread: Rich Text Editor Bug: null and "<p><br></p>"

Currently I am running Retool version 3.259.0 and when using an event to save data entered into the rich text field, it will randomly replace what was entered with
<p><br></p>

I can't reliably reproduce this, it's very intermittent

What I've done to fix this at the moment is to only allow my event to run if the richtexteditor.value !== "<p><br></p>"

Hopefully this helps if anyone else comes across this problem

Hi @snapcom,

Thanks for reaching out about this :thinking: your version should have the bug fix.

It might help to see a json export of the app or screenshots of the form set up, your events, and the default value of the rich text editor

Thanks for sharing your current workaround!

1 Like

Hey @snapcom - it might be hard to tell with your current workaround in place, but I'm curious to know if you're still seeing this issue. While not directly relevant, I'll point out the fact that the underlying library that we use for this particular component uses <p><br></p> as its default placeholder value, as you can see below.

Have you had a chance to revisit this, @snapcom?