I am working on 6.5 AEM and using RTE for Content fragment. I don't see the style plugin in RTE editor, image added below. Please let me know how I can enable Style plugin in RTE editor for content fragments.
I went through some of the blogs saying to override StyledTextEditor.js and update inline section to enable any missing plugin but I could not find what value I should update to enable style plugin.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
styles should be added in few other places as well
Hi ,
Inside StyledTextEditor,
add property "styles" inside
"rteplugins" {
}
And, for the clientlibs with StyledtextEditor.js give categories as
@Keerthi0555 I updated StyledTextEditor.js like below
"rtePlugins": {
"styles": {
"features": "*",
"styles": {
"eyebrow": {
"text": "Eyebrow",
"cssName": "eyebrow"
},
..
and tried both "#styles" or "styles#eyebrow"
in uiSettings like below
"uiSettings": {
"cui": {
"additionalClasses": {
"fullscreenstart": {
"classes": "",
"command": "fullscreen#start"
}
},
"inline": {
"toolbar": [
"#format",
"#justify",
"#lists",
"#styles",
.
.
.
}
},
But still, it's not working. Do you have working StyledTextEditor.js with style plugin.
Views
Replies
Total Likes
styles should be added in few other places as well
Thank you, this worked.
Glad to know this!
@maddy_23 I hope you found the AEM community helpful. We look forward to your return as either a learner or a contributor. The community thrives with SMEs like you. Please encourage your AEM peers to join and contribute. Happy AEM learning!
Views
Likes
Replies
Views
Likes
Replies