Expand my Community achievements bar.

baked in components

Avatar

Level 3

My post might seem crazy but got no way except to post here and get few suggestions.

 

I have a baked in component on a template i did remove following lines form editconfig.xml . so that if component is baked in it will not show  delete(will show only config option ) and if its dragged on to parsys (meaning not baked in) then show delete option with all other options (like config, copy,..)

 

 cq:actions="[edit,-,delete]"
    cq:disableTargeting="{Boolean}true"
    cq:layout="editbar"

 

my question is that my  component contains all required fields. In case of baked if an  author triesbto  add some content in dialog and clicks okay and after some time if he changes his mind tries to delete the content it will not delete and displays previous content again.

Any suggestions..??

2 Replies

Avatar

Level 10

I am not clear on your use case - is the author trying to delete the component from the page? 

Avatar

Level 9

Hi Pradeep,

    To me sounds it is expected behavior. because for baked content there is no delete as per your implementation & hence previous content is shown.

Thanks,