Download
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.

Add a simple onlick() function to a in the post/html editor?

  • #3683
    Avatar photo[anonymous]

    Hey all,

    Recently started using Publli and enjoying it so far. When i open the html editor function in the post editor, i notice that some html and js get’s removed once I save. For example: when I want to add a simple onclick() function to a div, span or p, it get’s removed automatically. I was wondering how I can either ommit this or how i can add the onclick function with a different method. I really need to be able to use some basic javascript in some posts, so i hope there is way.

    #3684
    Avatar photoBob

    Try to use the block editor.

    #3685
    Avatar photo[anonymous]
    [anonymous] wrote:

    Try to use the block editor.

    That works! But there’s no way to have this in the normal editor -> html function? If not, i’ll use the block editor for this post.