Update a "Text Field with Formatting" (Rich Text) using Fusion | Community
Skip to main content
lgaertner
Level 9
January 24, 2024
Question

Update a "Text Field with Formatting" (Rich Text) using Fusion

  • January 24, 2024
  • 2 replies
  • 1174 views

Hello,

 

I have a Text Field with Formatting where I would like to add some text to existing text using Fusion. As the content in this field type is saved in rich text format, adding something seems to be a challenging issue to me.

 

So I was wondering, if perhaps somebody did something like that before and has some hints for me...

 

Thanks in advance.

 

Regards

Lars

2 replies

Level 5
January 24, 2024

 

It appears to be a JSON encoding.  You could likely do some testing and play with things to figure out how you'd want to do it.  Appending would likely be as simple as just adding to the blocks array and republishing.

(I haven't tested this, just speculating based on the structure that I'm seeing here.)

lgaertner
lgaertnerAuthor
Level 9
January 25, 2024

Hello,

thanks a lot. In the meantime I made some progress and will try to share here, as soon as it is working completely. 

 

But I think this will take some more time, as I have some more urgent tasks on my desk.

 

Regards

Lars

KellieGardner
Community Advisor
Community Advisor
May 1, 2024

@lgaertner - did you ever figure out how to map Rich Text fields? 

sandramr
Level 2
May 18, 2025