Problem:
The user is experiencing issues with Toolset and Elementor, where toolsetCommonEs.styleToHead() appears when displaying WYSIWYG fields. The provided code only removes the first instance of the issue.
Solution:
Use this Javascript code:
jQuery(document).ready(function( $ ) { $(".elementor-element").each(function() { $(this).html($(this).html().replace('toolsetCommonEs.styleToHead()',"")); }); $(".elementor-widget-container").each(function() { $(this).html($(this).html().replace('toolsetCommonEs.styleToHead()',"")); }); });
Relevant Documentation:
https://toolset.com/forums/topic/cant-get-rid-of-toolsetcommones-styletohead-in-woocommerce-tab/
This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.
Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.
This topic contains 4 replies, has 2 voices.
Last updated by 1 year, 8 months ago.
Assisted by: Christopher Amirian.