I want to bold a particular word in a text when using a a!richtextitem. when I use the "Style" as "strong", it's making the entire text bold.In my case, I only want a word to be bold as shown below. Can someone please help
a!richTextDisplayField( value: { a!richTextItem( text: { "We recommend ABC method.",}, style: "PLAIN",)
}
)
Discussion posts and replies are publicly visible
In addition to the above reply, you should also know that you can nest a!richTextItem() objects within each other to basically any level. This helps a lot with complicated structures of formatting and also separate links, etc.
a!richTextDisplayField( value: { a!richTextItem( text: { "We recommend", a!richTextItem( text: " ABC ", style: "STRONG" ), "method." } ) } )
Thanks Mike, This nesting helps a lot!