Editing

Change tag

Change an element’s HTML tag without rebuilding it or losing its data binding.

Requires Builderius Pro Since DBE 2.0.0

Change tag swaps an element’s HTML tag without making you rebuild it. Use it when the structure is right but the semantics are not — for example, changing a div to section, or a p to h2. The feature was added in DBE 2.0 and requires Builderius Pro.

Change a tag

  1. Right-click the element in the Navigator.
  2. Open Change tag and choose the new tag. You can run the same action from the command palette.
  3. Check the selected element on the canvas, then save the template.

What stays in place

The element keeps its children, classes, attributes and data binding. If its Navigator label was simply the old tag name, DBE updates that label to the new tag; a custom label stays as you wrote it. Collections and SubCollections are supported too.

Guard rails

DBE refuses void or script-like tags where changing the element would create invalid or unsafe structure. The change participates in DBE’s Undo and Redo flow when that feature is enabled.