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.
Ce sujet contient 4 réponses, a 2 voix.
Dernière mise à jour par Il y a 3 years, 2 months.
Assisté par: Christopher Amirian.