symphonycms/symphony-2 — Issue #877: Duplicator Markup
Author: nilshoerrmann
Created: 2011-11-01 08:14:25+00:00
State: open
Labels: suggestion, to discuss

The current Duplicator expects a list by default (the Symphony core uses an ordered list) and then adds the known controls. So it looks like this before:

```html

```

And like this after the Duplicator has been applied:

```html

```

I'm a bit confused about the `div` elements as direct children of `ol` (I'm actually not sure if it's valid or not) and I'd like to change the applied markup to this:

```html

```

This layout would make things more logical in my eyes and it would allow us to handle empty Duplicators more elegantly (currently controls are magically disappearing and appearing which doesn't make the interface very intuitive).

As far as I can see this should not break backwards-compatibility because everything is added by the JavaScript plugin and because the class hierarchy stays intact.

Thoughts?