Position of cq-Editable-placeholder element changes after edit.

Avatar

Avatar

akashs51893872

Avatar

akashs51893872

akashs51893872

05-02-2018

Hello,

The component-placeholder extends to full-width after editing and without page-refresh.  It retains to original width after page-refresh but is there any way we can retain the original-design after-edit?  Please help.

Screenshot BEFORE editing the component:

1411695_pastedImage_9.png

Screenshot AFTER editing the component:

1411694_pastedImage_8.png

Thanks & Regards,

Akash

View Entire Topic

Avatar

Avatar

akashs51893872

Avatar

akashs51893872

akashs51893872

07-02-2018

I think i will work with the following solution until there's another more appropriate way to do it.  Basically, we will work with <div> instead of <sly /> and will data-sly-unwrap only if it is not wcmmode.isEdit as shown in the screenshot below:

1412729_pastedImage_0.png

The following screenshot is taken after the above implementation and AFTER editing inline:

1412730_pastedImage_1.png

Thanks & Regards,

Akash

https://forums.adobe.com/message/10159324#10159324