• Resolved James Revillini

    (@jrevillini)


    Just a note that the shortcode takes over the whole screen when dropped into Elementor, making the page essentially impossible to edit unless you use the Navigator. I’ll dig into this and hopefully provide a code edit but if you have any thoughts on how to only init when actually viewed live, that would be great. I might just write a wrapper shortcode to run only when not on the back-end.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter James Revillini

    (@jrevillini)

    OK I see what’s going on. Your code wants to output a <span> and then it acts on that, so this cannot be used to generate the mailto: attribute of anything in Elementor. My wrapper will have to cause this to output the email span to a hidden span, then copy it to the target attribute. OK.

    I think you should note this in the docs.

    Thread Starter James Revillini

    (@jrevillini)

    I just realized the real issue here, which is that I’m trying to take the obfuscated string and javascript it into link href attributes, essentially defeating the purpose of this plugin lol

    IGNORE THIS.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘takes over whole screen when used in Elementor shortcode’ is closed to new replies.