Hi Team,
In our AEM instance, there are multiple different projects are installed and the requirement is to customize the content fragment editor plugin for multiple projects without impacting one another. I know we can override the StyledTextEditor.js to make the required RTE plugin customization for content framgment but the problem is, if we override the changes under /apps/dam/ that would impact all the projects.
/apps/dam/cfm/admin/clientlibs/v2/authoring/contenteditor/editors/StyledTextEditor.js
Also we have another option to create a JS and add it to dam.cfm.authoring.contenteditor.v2 category with the required customization if we don't want to override under /apps/dam but the problem with the approach is, it would impact other projects as well since we are adding it dam.cfm.authoring.contenteditor.v2 category.
I just wanted to know how to customize the plugin specific to the projects without impacting one another. Please let me know if anyone handled the similar customization in your project.