6.1 to 6.3 some components are only editable from the side bar | Community
Skip to main content
roberth55706517
Level 4
January 15, 2018
Solved

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

  • January 15, 2018
  • 1 reply
  • 1344 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by roberth55706517

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.

1 reply

roberth55706517
roberth55706517AuthorAccepted solution
Level 4
January 15, 2018

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.