Skip to content

Commit

Permalink
Update src/OrchardCore.Modules/OrchardCore.Email/Views/Items/EmailTas…
Browse files Browse the repository at this point in the history
…k.Fields.Edit.cshtml

Co-authored-by: Georg von Kries <gvk@creativbox.net>
  • Loading branch information
hishamco and gvkries authored Feb 19, 2025
1 parent b7c7b13 commit 9f61143
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@
matchBrackets: true,
mode: { name: "liquid" },
});
CodeMirror.fromTextArea(document.getElementById('@Html.IdFor(m => m.TextBody)'), {
lineNumbers: true,
styleActiveLine: true,
matchBrackets: true,
mode: { name: "liquid" },
});
changeBodyFormat();
$('select').on('change', function () {
Expand Down

0 comments on commit 9f61143

Please sign in to comment.