Configure styles in design like paragraph elements

Avatar

Avatar

Dana__Anthony

Avatar

Dana__Anthony

Dana__Anthony

08-10-2018

In the design dialog for the out-of-the-box text component, you can configure the paragraph elements shown in full screen inplace text editing (by default h1, h2, h3) by adding more or removing some.  This overrides the list of paragraph elements defined in the cq:editConfig. 

In our custom text component that inherits from the ootb one, we configure it to also have a styles drop down in addition to a paragraph element dropdown.  Can we change the design dialog to allow this styles drop down to be configured in the design similarly with additional values? If so, what would be added to the design dialog XML  or nodes?  (I'd prefer XML, the way the nodes look when packaged, it's easier to read).

Replies

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.1K

Correct Reply

839

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.1K

Correct Reply

839
Arun_Patidar
MVP

08-10-2018

Hi,

Please check https://helpx.adobe.com/in/experience-manager/6-4/sites/authoring/using/style-system.html

This will guide you to create/update style system.

Avatar

Avatar

Dana__Anthony

Avatar

Dana__Anthony

Dana__Anthony

09-10-2018

I am asking about the css styles in the Touch UI's Rich Text Editor, not the style system.

It is a completely different setup and utilizes a RTE plugin.  Thank you for your attempt, though, Arun.

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.1K

Correct Reply

839

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.1K

Correct Reply

839
Arun_Patidar
MVP

09-10-2018

Avatar

Avatar

Dana__Anthony

Avatar

Dana__Anthony

Dana__Anthony

09-10-2018

No, unfortunately that document, while it contains the information necessary to customize the style list, does not include adding the styles plugin to the design dialog the way the paraformat plugin is.  Which is what my question is about.  If you see the information I need on that page, would you quote the relevant section, please?  And ideally show the XML that should be added to the exported design dialog?