Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

Avatar

Level 3

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.

1 Accepted Solution

Avatar

Correct answer by
Employee

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Employee

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.

Avatar

Level 3

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.