Richtext not holding returns

I’ve got some buggy behavior for the rich text input (bubble official plugin).

  1. the user enters data (verified it is plain text with no formatting)
  2. the user add styling and line breaks
  3. saves the changes using front end workflow to write the data to the database
  4. returns to the input and the data is correct
  5. if the user doesn’t make changes but then saves the data a second time it drops all the line breaks (ie they open the form again to view, then save to close)

Any suggestions on how to work around this bug? I’m considering just using a different plugin but thought I’d reach out here first.

you should avoid using this component, it’s particularly buggy (initial value, autobinding, etc …) very heavy, hasn’t evolved in a long time…

The first thing to do is make sure you’re using the latest version of the plug-in, which is 3.1.0 as of this writing. It appears there might have been a fix related to the issue you’re experiencing, so check that first. (For whatever reason, that plug-in doesn’t show the same “CAN UPGRADE” message as other plug-ins when there’s a new version available; so it’s easy to overlook an update.)

If the issue persists, I wonder if you could leverage the “Value has changed” event to save only if there’s actually been an edit.

decided to use a tinymce plugin to resolve it - figured that would be more reliable than the bubble official plugin

Thanks for your help