Default to drupal-markup as element name, instead of div

Created on 13 September 2024, 9 months ago

Motivation

Better defaults. custom elements usually do not use regular HTML elements, so adding one with a "div" is weird. If it's some sort of wrapper element, drupal-markup would be the better default

First MR: https://git.drupalcode.org/project/custom_elements/-/merge_requests/92#n...

📌 Task
Status

Active

Version

3.0

Component

Code

Created by

🇦🇹Austria fago Vienna

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @fago
  • Status changed to Needs work 10 days ago
  • 🇦🇹Austria fago Vienna

    The MR is BC-breaking, since we have a stable release now, we need to improve it to keep working the same way as before when "div" is passed.

Production build 0.71.5 2024