• After creating a modal, if you specify the modal’s selector in the “link rel” attribute of Gutenberg’s default button and click it, the modal displays properly on the screen. However, when specifying the modal’s selector in a Stackable – Gutenberg Blocks button and clicking it, the page simply refreshes as if navigating to href="".

    Could you provide a solution for this? Thank you for your effort.

    • This topic was modified 1 month, 3 weeks ago by isaacoh.
Viewing 1 replies (of 1 total)
  • Plugin Author David Jensen

    (@dkjensen)

    Hi @isaacoh

    The “Link Rel” is not an appropriate attribute to use, though you can technically use it.

    If on your Stackable button, you put in the Link Rel field: my-modal

    In the Light Modal Block “Selector” field, you would put: [rel="my-modal"]

    And then it should work. Most folks are leveraging the HTML Anchor / CSS Classes fields, and using those as the selectors.

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.