Sitecore / jss

Software development kit for JavaScript developers building web applications with Sitecore Experience Platform
https://jss.sitecore.com
Apache License 2.0
263 stars 275 forks source link

[sitecore-jss] [sitecore-jss-angular] Field metadata chromes in editMode metadata #1926

Closed stasmaxymov closed 2 months ago

stasmaxymov commented 2 months ago

Description / Motivation

This PR enables editing support for the fields in editing mode for editMode metadata. When a field is rendered in metadata mode it will be surrounded with open and close code elements with metadata content. This elements indicate location of the field and provide required metadata to enable editing in editor applications like Pages. The fields with this functionality are:

[sitecore-jss-angular] image.directive.ts [sitecore-jss-angular] date.directive.ts [sitecore-jss-angular] rich-text.directive.ts [sitecore-jss-angular] text.directive.ts [sitecore-jss-angular] link.directive.ts [sitecore-jss-angular] router-link.directive.ts [sitecore-jss-angular] generic-link.directive.spec.ts

Testing Details

Types of changes