Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
I have added custom styles in RTE plugins. I am able to select them on the dialog configure and inplace editing. But They are only getting applied when authored through dialog configure. Same is not working on inplace editing. But They are displaying properly on the page in both case.
Inplace editing/dialog configuration open in different contexts and do not consider css/js included in your template. Though, you can use externalStyleSheets [1] in RTE configuration to specify project-specific styles to be used in edit mode.
Navigate to the root node of your text component, for example/apps/<myProject>/components/text.
NameexternalStyleSheets
TypeString[](multi-string; clickMultiin CRXDE)
Value(s)The path and filename of every style sheet you want to include. Use repository paths.
Add the propertyexternalStyleSheetsto the parent node of<rtePlugins-node>:
Inplace editing/dialog configuration open in different contexts and do not consider css/js included in your template. Though, you can use externalStyleSheets [1] in RTE configuration to specify project-specific styles to be used in edit mode.
Navigate to the root node of your text component, for example/apps/<myProject>/components/text.
NameexternalStyleSheets
TypeString[](multi-string; clickMultiin CRXDE)
Value(s)The path and filename of every style sheet you want to include. Use repository paths.
Add the propertyexternalStyleSheetsto the parent node of<rtePlugins-node>: