Sign in
We're evolving to serve you better! This current forum has transitioned to read-only mode. For new discussions, support, and engagement, we've moved to GitHub Discussions.

I can’t embed a “button on click” from Mailerlite

  • This topic has 3 replies, 2 voices, and was last updated 1 year, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #7214
    Avatar photochikar


    Whenever I try to embed a “button on click” function from Mailerlite, it doesn’t work.

    When I include the code in the code block and click the save button, this turns automatically into this:

    => the whole “button on click” function is erased. The button appears in the post (in my case in the Hero section of the Taste theme), but it is not working.

    If I include the “click on link” function (the one with ahref) from mailerlite, it works, but not “click on button”

    I am new to static site generation, love publii, but I cannot figure out where this comes from. Maybe it’s a basic coding error?


    Avatar photochikar

    No one who can help? I hope my question is clear 🙁

    Avatar photoTomasz Dziuda


    Please go to Site Settings -> Advanced options -> Editors -> WYSIWYG editor -> Additional valid elements in the WYSIWYG editor

    and please try to add:



    Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!

    Avatar photochikar

    Hi Tomasz, thanks a lot for your feedback, I appreciate it a lot.


    I have done what you have proposed, but the problem still persists. I don’t know where I am doing it wrong.


    Here is a link to the blog I’m building, you can see that the embed pop up on text works, but embed popup on button click is the same.


    I have included button[*] in advanced options.


    But you know what, don’t bother if it is too much of a hustle. It is a nice to have feature, there is always a turnaround. I will use popup on text option, no problem for me.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.