To customize SmartEdit in SAP Commerce Cloud, add the customsmartedit extension to your SAP Commerce Cloud project.
Prerequisites
-
You have a local development environment. For more information, see Getting Started with SmartEdit.
-
Create the customsmartedit extension from ysmarteditmodule.
Procedure
- Build and test your customsmartedit extension in your local development environment.
- If it does not already exist, create a SAP Commerce Cloud configuration project in your Git repository. For example, create my-commerce-git-repository.
- In the SAP Commerce Cloud configuration project, create a subfolder named core-customize.
- In the core-customize folder, add a configuration file and name it manifest.json. This example shows the resulting structure of the configuration project:
my-commerce-git-repository/
/core-customize/
/manifest.json
/customsmartedit
For more information on the manifest file, see SmartEdit Manifest Example.
- Push all individual source files that overwrite OOTB and all customized SmartEdit extensions to the SAP Commerce Cloud repository.
- To include your SmartEdit customizations, run a new Commerce build without using the ant npminstall command