Expand my Community achievements bar.

SOLVED

6.1 to 6.3 some components are only editable from the side bar

Avatar

Level 4

A client of ours is porting their site from 6.1 to 6.3. There are some components for which the edit frame and edit icon do not display when clicking inside them in edit mode. I can get to the configuration from the content tree in the sidebar but authors cannot access the configuration from the touch UI like other components. It isn't specific to any particular component s but they are components added to a page component in the content.xml file and are simple added as follows:

<div id="content" class="event-page" data-sly-resource="${@path='hero', resourceType='client/components/custom/heroes/article_hero'}"></div>

There is a touch UI edit dialog defined in the component's resource and it works when accessed from the configuration icon in the sidebar but the toolbar is not enabled when clicking inside the component.

Any ideas why?

1 Accepted Solution

Avatar

Correct answer by
Level 4

Found it. There was a component in the header that had a data-sly-unwrap attribute but didn't have anything to unwrap. It probably broke the document structure. 6.1 must not have cared but it was a big deal in 6.3. i removed the attribute and the edits all work as expected.

View solution in original post

1 Reply

Avatar

Correct answer by
Level 4

Found it. There was a component in the header that had a data-sly-unwrap attribute but didn't have anything to unwrap. It probably broke the document structure. 6.1 must not have cared but it was a big deal in 6.3. i removed the attribute and the edits all work as expected.