1( function( $ ) { 2 "use strict"; 3 4 function setClassForLinkFromDataLink() { 5 let els = $('.pxl-text-editor-wrapper'); 6 if(!els.length) return; 7 els.each(function(i, el) { 8 const dataLink = $(el).data().link; 9 const linkElement = $(el).find('a'); 10 if(!linkElement.length) return; 11 $(linkElement).addClass(dataLink.style + ' ' + dataLink.hover); 12 }) 13 } 14 15 $( window ).on( 'elementor/frontend/init', function() { 16 elementorFrontend.hooks.addAction( `frontend/element_ready/pxl_text_editor.default`, setClassForLinkFromDataLink); 17 } ); 18} )( jQuery );
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.