Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

multifield having richtext with custom styles

Avatar

Level 4

Hi, 

Could any one help me on my requirement.

Requirement:

I have to create a multifield having two richtexts. I should configure styles in the rich text editor. 

My approach:

I have created one customized js having two xtypes of richtext. but I am not able to prvoide the rtePlugins in that code. 

Could any one please help me on this.. 

I greatly appreciate your help.Pls share code sample if possible..

Thanks in advance.

1 Accepted Solution

Avatar

Correct answer by
Level 7

I think its better to use texarea or texfield for Question. U can use rte for answer. U can use htmleditor if it meets ur requirements.

View solution in original post

3 Replies

Avatar

Level 10

I am not sure having 2 rich texts are best practice. Every example that I have seen and worked with has 1 RTE. Why do you need 2 RTE? 

Avatar

Level 4

Actually I have to create one faq page. It contains question and answer.. so I thought to create a multifield of two inputfields , each of xtype richtext. so I would like to create one customized js having two richtexts and wanted to use by specifying at fieldConfig..

Avatar

Correct answer by
Level 7

I think its better to use texarea or texfield for Question. U can use rte for answer. U can use htmleditor if it meets ur requirements.