... надо попробовать поменять в файле /public_html/wp-content/plugins/js_composer/assets/js/backend/composer-view.js соответствующую функцию вот на это:
html2element: function(html) {
var $template, attributes = {},
template = html;
$template = $(template(this.model.toJSON()).trim());
if($template.get(0))
{
_.each($template.get(0).attributes, function(attr) {
attributes[attr.name] = attr.value
})};
this.$el.attr(attributes).html($template.html()),
this.setContent(),
this.renderContent()
},
Помогает!
- 2016-09-08