elementor icon indicating copy to clipboard operation
elementor copied to clipboard

Raw JS element missing, like in WP Bakery?

Open LogoLogics2 opened this issue 6 years ago • 4 comments

The feature is still missing in the latest stable version of Elementor ( Elementor Pro. ) I am converting sites with WP Bakery to Elementor (PRO). There does not seem to be an equivalent for the "raw JS" element in WP Bakery.

What problem is your feature request going to solve? Please describe. I need to be able to add raw js into pages for active campaign tracking.

Describe the solution you'd like An equivalent for the "raw JS" element in WP Bakery.

raw js

LogoLogics2 avatar Mar 02 '20 13:03 LogoLogics2

You can always use the html element and then throw script tags around it like so : <script type="text/javascript">[put your js here]</script>

bitojoe avatar Mar 03 '20 18:03 bitojoe

Thanks, was hoping for an easy element like WPBakery............ Would that not be considered to add to the elements in near future?

Not sure where to put what to be honest.

[Put your JS here] : is that literally everything that you can see in my screenshot?

I mean starting form the: <!--Deadline Funnel -->script......... to the --Funnel>

and I suppose the [ ] need to be left out?

Thanks!

LogoLogics2 avatar Mar 04 '20 11:03 LogoLogics2

Honestly didn't even look at your screenshot.

WPBakery's raw js block essentially just wraps js inside a script tag (I assume) - but from the looks of your screenshot, your js is already wrapped in script tags, meaning it's can simply just be copy and pasted into a html block.

bitojoe avatar Mar 05 '20 00:03 bitojoe

Hi bitojoe,

Thanks for helping me out!

You are probably right about the script tag. As WP Bakery element does this wrapping, I will probably be able to simply copy /paste the whole thing into a text element and it should work.

Thing is, this is an older, by previous web developer, abandoned (updates etc) site, I now am cleaning up for a client and not sure what the previous builder did and if it this code is still necessary.

There is a plugin in there ( set on not active ) called Thrive leads and I think this is it: https://thrivethemes.com/compare/thrive-ultimatum-vs-deadline-funnel/

I will have to investigate because if that is no longer used, I can just leave the code out of it.

Thanks again! Annie

LogoLogics2 avatar Mar 05 '20 10:03 LogoLogics2