WebsiteBaker 2.13.8 is now available!
R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WBhttps://forum.websitebaker.org/index.php/topic,32355.0.html
<i class="fa fa-check" aria-hidden="true"></i>
config.protectedSource.push( /<i[\s\S]*?\>/g ); //allows beginning <i> tagconfig.protectedSource.push( /<\/i[\s\S]*?\>/g ); //allows ending </i> tag
config.protectedSource.push( /<i class[\s\S]*?\>/g );config.protectedSource.push( /<\/i>/g );
config.protectedSource.push( /<i class[\s\S]*?\/i>/g );
<h2><span style="color:#a52a2a">PHP [[php-version]] (NON STRICT) </span><i class="fa fa-heart"> </i></h2>
/* Protect PHP code tags (<?...?>) so CKEditor will not break them when switching from Source to WYSIWYG. * Uncommenting this line doesn't mean the user will not be able to type PHP code in the source. * This kind of prevention must be done in the server side, so just leave this line as is. */ config.protectedSource.push(/<\?[\s\S]*?\?>/g); // PHP Code// config.protectedSource.push(/\[\[[\s\S]*?\]\]/g); // droplets// config.protectedSource.push( /<i[\s\S]*?\>/g ); //allows beginning <i> tag// config.protectedSource.push( /<\/i[\s\S]*?\>/g ); //allows ending </i> tag// config.protectedSource.push( /<span[\s\S]*?\>/g ); //allows beginning <span> tag// config.protectedSource.push( /<\/span[\s\S]*?\>/g ); //allows ending </span> tag //disable ckes Advanced Content Filter (ACF) to avoid wblinks to be filtered? config.allowedContent = true;
return '<i class="fa fa-'.$f.'"></i>';