# Edit more than one HTML element

**URL:** <https://forum.pinegrow.com/t/edit-more-than-one-html-element/505>\
**Category:** Feature Request\
**Created:** [December 15, 2016, 1:52pm UTC](https://forum.pinegrow.com/t/edit-more-than-one-html-element/505 "2016-12-15T13:52:10Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Siemen](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/siemen/32/293_2.png) [@Siemen](https://forum.pinegrow.com/u/Siemen)\
**Post date:** [December 15, 2016, 1:52pm UTC](https://forum.pinegrow.com/t/edit-more-than-one-html-element/505/1 "2016-12-15T13:52:10Z")

</div>

When editing an HTML element (CMD-H) it is often useful to duplicate the code in the editor itself and create a sibling to be edited. Eg for nav elements and lists.

The editor does not allow this and says “Syntax error - or - You’re editing more than one HTML element!”.

It would be very useful for my workflow if the editor would accept a series of (closed) elements and insert them into the DOM on closing - like a DocumentFragment. As of now, I have to duplicate elements in the tree view before.

What do others think?

Siemen

---

<div class="post-metadata">

**Author:** ![Farscaper](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/farscaper/32/385_2.png) [@Farscaper](https://forum.pinegrow.com/u/Farscaper)\
**Post date:** [February 11, 2017, 4:58pm UTC](https://forum.pinegrow.com/t/edit-more-than-one-html-element/505/2 "2017-02-11T16:58:12Z")

</div>

I just requested the same thing but for different reasons. Plus one.

---

<div class="post-metadata">

**Author:** ![Siemen](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/siemen/32/293_2.png) [@Siemen](https://forum.pinegrow.com/u/Siemen)\
**Post date:** [February 11, 2017, 10:51pm UTC](https://forum.pinegrow.com/t/edit-more-than-one-html-element/505/3 "2017-02-11T22:51:14Z")

</div>

What are your reasons?

---

<div class="post-metadata">

**Author:** ![Farscaper](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/farscaper/32/385_2.png) [@Farscaper](https://forum.pinegrow.com/u/Farscaper)\
**Post date:** [February 12, 2017, 5:25pm UTC](https://forum.pinegrow.com/t/edit-more-than-one-html-element/505/4 "2017-02-12T17:25:28Z")

</div>

> [@Ability to edit multiple elements in element edit box](http://forum.pinegrow.com/t/ability-to-edit-multiple-elements-in-element-edit-box/683):
>
> First, I understand why you wouldn’t want to do this but let me explain my dilemma. I have an old site that is just stock full of double br breaks that I wish to convert to p paragraph breaks and be responsive. While I am looking at the page in phone mode I find myself opening elements wishing to break one large paragraph into two or three but Pinegrow refuses to let me as it limits it to just one element. Therefore I have to insert double br’s (which is allowed) and then do a Find/Replace usi…

---

<div class="post-metadata">

**Author:** ![Siemen](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.pinegrow.com/siemen/32/293_2.png) [@Siemen](https://forum.pinegrow.com/u/Siemen)\
**Post date:** [February 13, 2017, 12:54pm UTC](https://forum.pinegrow.com/t/edit-more-than-one-html-element/505/5 "2017-02-13T12:54:56Z")

</div>

Have you had any response on your request / has it been rejected? I just posted here and haven’t heard anything. Would still like the feature though…

– Siemen
