The default paragraph formats are Paragraph, Heading 1, Heading 2, and Heading 3 (<p>
, <h1>
, <h2>
, and <h3>
). How can we enable <h4> in CF Richtext.
Solved! Go to Solution.
Views
Replies
Total Likes
I figured one way of achieving it, adding solutions that may help community members with similar use cases.
1. Overlay /libs/dam/cfm/admin/clientlibs/v2/authoring/contenteditor/editors/StyledTextEditor.js
2. Overwrite paraformat at line number 51 inside defaultCFMRTEConfig with the below changes:
"paraformat": { "features": "*", "formats": { "p": "Paragraph", "h1": "Heading 1", "h2": "Heading 2", "h3": "Heading 3", "h4": "Heading 4" } },
Hi @Bhuwan_B
Please check out this link
https://experienceleague.adobe.com/docs/experience-manager-64/administering/operations/configure-ric...
@TarunKumar Thanks for your reply but the ask is regarding Richtext plugins of Content Fragments not the regular touchui dialog.
I figured one way of achieving it, adding solutions that may help community members with similar use cases.
1. Overlay /libs/dam/cfm/admin/clientlibs/v2/authoring/contenteditor/editors/StyledTextEditor.js
2. Overwrite paraformat at line number 51 inside defaultCFMRTEConfig with the below changes:
"paraformat": { "features": "*", "formats": { "p": "Paragraph", "h1": "Heading 1", "h2": "Heading 2", "h3": "Heading 3", "h4": "Heading 4" } },
This solution no longer works as the path - /libs/dam/cfm/admin/clientlibs/v2/authoring/contenteditor/editors/StyledTextEditor.js is greyed out meaning it is internal and shouldn't be overlaid.
Is there an updated solution to it?
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies