Support » Plugin: Lazy Blocks - Gutenberg Blocks Constructor » Add a custom attribute into a block

  • Hi there!

    This plugin is really nice, thanks! However I wonder if there is a way to do this:

    I’ve created a custom image block. By default there is an option to add a custom class to it. In addition to this, I need the option that the user can add a custom attribute to it, in this case “data-parallax=x”.

    Is this possible?

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Plugin Author nK

    (@nko)

    Hi.

    You can only add it manually, using custom control. Gutenberg support only custom classes and custom anchor in the Advanced tab.

    Regards, nK.

Viewing 1 replies (of 1 total)
  • The topic ‘Add a custom attribute into a block’ is closed to new replies.