Expand my Community achievements bar.

SOLVED

Adding RTE Plugins in custom widget

Avatar

Community Advisor

Hi,

I have created a custom widget in which i have a rte defined as below:

                        this.textField1 = new  CQ.form.RichText({ 
                            width : 'auto', 
                            "stateful" : false 
                        }); 
                        this.add(this.textField1);

The rich text field appears but with out the plugins(subscript, superscript etc).

Could someone suggest me a way to add the plugins too.

1 Accepted Solution

Avatar

Correct answer by
Level 10

We have a community article that covers this use case. See:

http://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

By following this article -- you will learn how to work with plugins with custom components. 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

We have a community article that covers this use case. See:

http://helpx.adobe.com/experience-manager/using/creating-aem-multifield-components.html

By following this article -- you will learn how to work with plugins with custom components.