07-20-2023, 02:08 PM
I have followed the tutorial in [this blog][1] successfully and was wondering if I can extend it further by enabling inline editing of Crafter CMS in an Angular 2 project. My first attempt was to include this code `<@studio.iceAttr iceGroup="author"/>` in a template of angular component as follows:
<h1 <@studio.iceAttr iceGroup="author"/>>${title}</h1>
but the angular compiler insists that it is an invalid HTML. I understand that under the hood Crafter studio will convert the above code to an actual HTML. Thus, I think that I should instead add the produced html in the template of the angular component but it seems there is are generated value as well. Are there any other ways to enable inline editing for angular 2 apps inside Crafter CMS?
[1]:
<h1 <@studio.iceAttr iceGroup="author"/>>${title}</h1>
but the angular compiler insists that it is an invalid HTML. I understand that under the hood Crafter studio will convert the above code to an actual HTML. Thus, I think that I should instead add the produced html in the template of the angular component but it seems there is are generated value as well. Are there any other ways to enable inline editing for angular 2 apps inside Crafter CMS?
[1]:
[To see links please register here]