Files
Testing/blog/wp-content/plugins/fusion-builder/front-end/templates/fusion-syntax-highlighter.php
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

26 lines
683 B
PHP

<?php
/**
* Underscore.js template
*
* @package fusion-builder
* @since 2.0
*/
?>
<script type="text/html" id="tmpl-fusion_syntax_highlighter-shortcode">
<div {{{ _.fusionGetAttributes( syntaxAttr ) }}}>
<# if ( 'yes' === copy_to_clipboard ) { #>
<div class="syntax-highlighter-copy-code">
<span {{{ _.fusionGetAttributes( syntaxHighlighterCopyCodeTitleAttr ) }}}>{{{ copy_to_clipboard_text }}}</span>
</div>
<# } #>
<# if ( wp_enqueue_code_editor ) { #>
<textarea {{{ _.fusionGetAttributes( textareaAttr ) }}}>{{{ output }}}</textarea>
<# } else { #>
<pre id="fusion_syntax_highlighter_{{ cid }}"> {{{ output }}}</pre>
<# } #>
</div>
{{{ styles }}}
</script>