Selecting content by clicking on the opening element tag in XML Editor | Community
Skip to main content
sschnelbach
Level 5
June 23, 2022
Solved

Selecting content by clicking on the opening element tag in XML Editor

  • June 23, 2022
  • 1 reply
  • 768 views

Within the XML Editor, why can’t I drag/drop by element? (Paragraph, table, etc).

 

We need to be able to edit content by moving around element tags, such as selecting the opening paragraph tag and dragging it to a new location within the topic. Right now, you can’t really select by clicking on the element tag, which makes moving content a lot harder than it needs to be.

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 Adobe-Chad

Hello,

 

This is supported, I just confirmed on my own instance. The steps I took were: 

  1. Click the opening tag of an element.
    RESULT: The entire element and its contents are selected.
  2. Click and hold on the opening tag and drag the element to its new location.

Note: This has, in my testing, not worked on elements within table cells.

 

An alternative way of doing this would be to use the Outline View panel.

1 reply

Adobe-Chad
Adobe Employee
Adobe-ChadAdobe EmployeeAccepted solution
Adobe Employee
June 23, 2022

Hello,

 

This is supported, I just confirmed on my own instance. The steps I took were: 

  1. Click the opening tag of an element.
    RESULT: The entire element and its contents are selected.
  2. Click and hold on the opening tag and drag the element to its new location.

Note: This has, in my testing, not worked on elements within table cells.

 

An alternative way of doing this would be to use the Outline View panel.

sschnelbach
Level 5
June 23, 2022

Yes, I was trying to drag/drop a <p> from within a table. It works just fine outside the table, but does not work inside the table. Since AEM Guides doesn't allow tables nested within tables, I was trying to move my nested table outside the primary table so I could delete it.