Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

350 B
Raw Blame
@model string
<div class="mt-5">
    <textarea id="@Html.IdForModel()" name="@Html.NameForModel()">@Model</textarea>
</div>
<script>
    $(document).ready(function () {
        var editor = CodeMirror.fromTextArea(document.getElementById('@Html.IdForModel()'), {
            mode: "xml",
            lineNumbers: true
        });
    });
</script>