How to get rid of toolsetCommonEs styleToHead()
Started by: gabrielB
in: Toolset Professional Support
Quick solution available
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/
2
5
3 years, 6 months ago
gabrielB