Html changes reset to default when using the editor

Issue description

  1. In a text block, change html links and add title. E.g the text. “Dieser Fotokalender ist gelocht und kann somit einfach mit einem Nagel aufgehängt werden.”

  2. Then use the normal editor to make any word bold (or any other action)

  3. Builder then deaultes the change in the link title to: “Dieser Fotokalender ist gelocht und kann somit einfach mit einem Nagel aufgehängt werden.”

This is very critical for us since we have migrated almost 300 pages and changed this on every page and we have users not custom to HTML.

I have added a video also: https://drive.google.com/file/d/12r3RSRBjOXKmuzrQadYUuxbN5S7LOv1D/view?usp=sharing

Hi @peter.manhof! Thanks for reaching out.

As of right now this is actually the expected behavior. Like some other rich text editors (e.g. in WordPress, etc) you can edit the html as code, but if you go back to the rich text editor and make an edit there, some of your code edits could be lost.

That being said, you have two options:

  1. You can make your own rich text editor plugin supporting any fields you need to edit (like title). You can see an example custom rich text editor plugin here:
    https://github.com/BuilderIO/builder/tree/master/plugins/rich-text

  2. You can use the custom code block instead of code customization and not edit the code of text blocks anymore

I hope this was helpful! if you have any other questions, let us know :smile: