1jQuery( window ).on( "elementor:init", function() { 2 "use strict"; 3 4 function applyCustomCss( css, view ) { 5 6 if ( ! view ) { 7 return; 8 } 9 10 var model = view.model; 11 var customCss = model.get('settings').get('ma_custom_css'); 12 var selector = '.elementor-element.elementor-element-' + model.get('id'); 13 14 if ( customCss ) { 15 css += customCss.replace(/selector/g, selector); 16 } 17 18 return css; 19 } 20 21 elementor.hooks.addFilter( 'editor/style/styleText', applyCustomCss ); 22});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.