Solved! Go to Solution.
Views
Replies
Total Likes
There is no limitation for that, you can use richtext field where ever you want.
Please check below example where you can find dialog structure for richtext which is included at tab level:
https://gist.github.com/briankasingli/1a7e3e12deaa2e076645b09d30039b46
Your question is not clear to me, but if you're exploring options to add formatting features , please explore on RTE which will help on you:
Hope this helps you to understand further.
Hi sir, actually I created a component in that i had three fields name as image field, title field and description field, I want description text had alignment like left, right or centered. How can I had formatting property to that description text field. Can you suggest something about this
If you wanted to have formatting capabilities, YES you need to suggest Richtext field option.
when you added richtext type filed, by default you will see some formatting plugins, and more can added /customised based on requirements.
please have a look at this as well so that you can quickly change field resource type on your local and see how it looks like.
https://gist.github.com/mattlo/d9f699e8142e00df99747772f3a486ba
My expectation was to create a tab in the dialog where user can select where the description has to display .. like completely left , middle and right
There is no limitation for that, you can use richtext field where ever you want.
Please check below example where you can find dialog structure for richtext which is included at tab level:
https://gist.github.com/briankasingli/1a7e3e12deaa2e076645b09d30039b46
Check if you are looking for something like the below
Sample screenshots :
In HTL,
<p style="text-align: ${properties.position @ context='styleToken'}">${properties.description ? properties.description : 'Default Description'}</p>
If it is deviating from your requirement, please elaborate with screenshots if possible.
Views
Likes
Replies
Views
Likes
Replies