Custom data attributes

Created on 10 November 2021, about 3 years ago
Updated 16 October 2024, about 1 month ago

Hi,

I would like to be able to add custom html data attributes to Gutenberg blocks.
Right now there's functionality for additional custom classes, but certain css/js libraries (such as AOS) I want to use rely on adding custom data attributes.

Is this a possible feature for a future release?

Feature request
Status

Active

Version

2.0

Component

Code

Created by

🇧🇪Belgium Jasper De Langhe

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇨🇷Costa Rica lmiranda08

    I'm currently facing the same issue when trying to add data-attributes to the components. I've searched the forums and documentation, but I haven't been able to find a working solution.

    Any insights or suggestions would be greatly appreciated!

    Thanks!

Production build 0.71.5 2024