Add more formats in rtePlugin - paraformat

Avatar

Avatar

rishigarg1990

Avatar

rishigarg1990

rishigarg1990

26-04-2018

I have added richTextBox in my xtype js file where I have added paraformat plugin. Here below is my code for that ;

                 "rtePlugins" :{

                    "edit" : {

                        "features" : ['cut', 'copy', 'paste-plaintext']

                    },                  

                    "spellcheck" : {

                        "features" : "*"

                    },

                    "undo" : {

                        "features" : "*"

                    },

                    "findreplace" : {

                        "features" : "*"

                    },

                    "misctools" : {

                        "features" : "*"

                    },

                    "paraformat" : {

                        "features" : "*"

                    }

                },

But i am getting only paragraph, heading1, heading2, heading3 only in format tab. But I want to add more headings like h4, h5 etc. I have added richtext node having rtePlugin node that contains all the plugins available. Can anyone help me to add more formats in paraformat.

Replies

Avatar

Avatar

kglad

Avatar

kglad

kglad

26-04-2018

is this an experience manager question?

Avatar

Avatar

rishigarg1990

Avatar

rishigarg1990

rishigarg1990

26-04-2018

Yes it is related to adobe experience manager.

I have found a solution in the url: Configuring the Rich Text Editor , but i am not getting after adding richTextBox node, is there any configuration is required to use it in my dialog js file.

Avatar

Avatar

kglad

Avatar

kglad

kglad

27-04-2018

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

27-04-2018

What version of AEM Are you using? Look at using the Core Text component - you will see these headings are part of RTE.

ACore.png

Avatar

Avatar

rishigarg1990

Avatar

rishigarg1990

rishigarg1990

27-04-2018

I am using adobe 6.2 version where Paragraph1, Heading1, Heading2, Heading3 formats are available by default and I have to add more.

Avatar

Avatar

Nirmal_Jose

MVP

Avatar

Nirmal_Jose

MVP

Nirmal_Jose
MVP

28-04-2018

have you tried both rtePlugins and uiSettings as in /libs/foundation/components/textimage/dialog/items/tab1/items/text

Avatar

Avatar

rishigarg1990

Avatar

rishigarg1990

rishigarg1990

01-05-2018

Yes I was tried on both. Can you please explain me the end to end process, so that I can conclude where I am going wrong.

Avatar

Avatar

viveksachdeva

Avatar

viveksachdeva

viveksachdeva

01-05-2018

Possible to share code package that you are using... I see it working when I followed the article above