From b7602d6d2b53d6ef3868701b41f47a8f393cfd43 Mon Sep 17 00:00:00 2001 From: Anand Chitipothu Date: Tue, 9 Mar 2021 09:37:17 +0000 Subject: [PATCH] Added codemirror integration to LMS topic pages --- community/www/courses/topic.html | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/community/www/courses/topic.html b/community/www/courses/topic.html index f13edb66..b527a444 100644 --- a/community/www/courses/topic.html +++ b/community/www/courses/topic.html @@ -5,6 +5,15 @@ + + + + + + + + + {% endblock %} {% block content %} @@ -73,7 +82,8 @@ $(".canvas-editor").each((i, e) => { var editor = new LiveCodeEditor(e, { runtime: "python-canvas", - base_url: "{{ livecode_url }}" + base_url: "{{ livecode_url }}", + codemirror: true }) }) })