AEM 6.5 useSemanticMarkup removes styles for tag in Rich Text Editor

Avatar

Avatar
Level 1
sasha76
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile

Avatar
Level 1
sasha76
Level 1

Likes

0 likes

Total Posts

1 post

Correct reply

0 solutions
View profile
sasha76
Level 1

15-01-2021

Hi All,

I need to replace <div> tags with <p>. So I tried to use 'semanticMarkupMap' and it works fine except for one thing:

it removes all styles for tag. For example: <div style="text-align: center;"> to <p>

<docType jcr:primaryType="nt:unstructured">
<typeConfig jcr:primaryType="nt:unstructured"
useSemanticMarkup="{Boolean}true">
<semanticMarkupMap jcr:primaryType="nt:unstructured"
div="p"/>
</typeConfig>
</docType>

Can you please provide some inputs?

Accepted Solutions (0)

Answers (0)