• File: fusion-syntax-highlighter.php
  • Full Path: /home/docteuh/www/plugins/fusion-builder/front-end/templates/fusion-syntax-highlighter.php
  • Date Modified: 11/20/2023 6:12 PM
  • File size: 788 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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 ) { #>
		<label for="fusion_syntax_highlighter_{{ cid }}" class="screen-reader-text">Syntax Highlighter</label>
		<textarea {{{ _.fusionGetAttributes( textareaAttr ) }}}>{{{ output }}}</textarea>
	<# } else { #>
		<pre id="fusion_syntax_highlighter_{{ cid }}"> {{{ output }}}</pre>
	<# } #>
</div>
{{{ styles }}}
</script>