Expand my Community achievements bar.

How to configure AEM rich text editor to support blockquote with nested p tags

Avatar

Level 3

We are trying to configure the rich text editor with AEM 6.3 to support the blockquote tag. We have managed to do this adding block quote to the paraformat section. However if we have two or more existing paragraphs that we want to wrap with a blockquote tag this does not work; it replaces all existing p tags with blockquote.

Has anyone got any pointers it suggestions on how to achieve this? We are trying to replicate functionality within tinyMCE as part of a migration to AEM.

2 Replies

Avatar

Level 10

This is a very specific use case for the TOuch UI RTE. To solve this requirement, you would need to write a custom plug-in for the RTE. There are some community articles that discuss this use case - such as: AEM | RTE – Custom Styles Plugin – Touch UI – Need is the mother of invention …

Avatar

Level 3

Thanks for the response, we are going to look at that, but in the interim we decided to go with Blockquote component which is basically the text rte one that wraps blockquote around the text.

Send to work well so far.