SmartEdit is still rendered by SAP Commerce, and is not part of the Spartacus platformSmartEdit, part of SAP Commerce, can be used to edit a site that uses Spartacus for the front end.
Every CMS component implemented in spartacus should be recognized by Smart Edit thanks to the generic smart-edit contract (based on special html attributes implemented in Spartacus). 这个链接能看到contract的更多明细。
It’s implemented inside Spartacus cxComponentWrapper directive, which maps CMS component names into live Angular components. See code: https://github.com/SAP/spartacus/blob/develop/projects/storefrontlib/src/cms-structure/page/component/component-wrapper.directive.ts#L92-L99
private decorate(elementRef: ElementRef): void {
this.dynamicAttributeService.addDynamicAttributes(
elementRef.nativeElement,
this.renderer,
{ componentData: this.cxComponentWrapper }