Lines 585-591
Link Here
|
585 |
[% Asset.js( "lib/linters/htmlhint.min.js" ) | $raw %] |
585 |
[% Asset.js( "lib/linters/htmlhint.min.js" ) | $raw %] |
586 |
[% Asset.js( "lib/codemirror/html-lint.min.js" ) | $raw %] |
586 |
[% Asset.js( "lib/codemirror/html-lint.min.js" ) | $raw %] |
587 |
<script> |
587 |
<script> |
588 |
$("textarea[name='content']").each( function(index) { |
588 |
$("textarea[name^='content_']").each( function(index) { |
589 |
var this_lang = $(this).attr('data-lang'); |
589 |
var this_lang = $(this).attr('data-lang'); |
590 |
var editor = CodeMirror.fromTextArea(document.getElementById('content_' + this_lang), { |
590 |
var editor = CodeMirror.fromTextArea(document.getElementById('content_' + this_lang), { |
591 |
lineNumbers: true, |
591 |
lineNumbers: true, |
592 |
- |
|
|