summaryrefslogtreecommitdiff
path: root/yaksh
diff options
context:
space:
mode:
Diffstat (limited to 'yaksh')
-rw-r--r--yaksh/static/yaksh/js/lesson.js14
-rw-r--r--yaksh/templates/yaksh/add_lesson.html1
2 files changed, 0 insertions, 15 deletions
diff --git a/yaksh/static/yaksh/js/lesson.js b/yaksh/static/yaksh/js/lesson.js
index 23446dc..6eaf6c6 100644
--- a/yaksh/static/yaksh/js/lesson.js
+++ b/yaksh/static/yaksh/js/lesson.js
@@ -90,18 +90,4 @@ $(document).ready(function(){
}
$(this).next('.custom-file-label').html(files.join(', '));
});
- $(function() {
- tinymce.init({
- selector: 'textarea#id_description',
- setup : function(ed) {
- ed.on('change', function(e) {
- tinymce.triggerSave();
- });
- },
- max_height: 400,
- height: 400,
- plugins: "image code link",
- convert_urls: false
- });
- });
});
diff --git a/yaksh/templates/yaksh/add_lesson.html b/yaksh/templates/yaksh/add_lesson.html
index 49675f2..ae68af7 100644
--- a/yaksh/templates/yaksh/add_lesson.html
+++ b/yaksh/templates/yaksh/add_lesson.html
@@ -9,7 +9,6 @@
</script>
<script type="text/javascript" src="{% static 'yaksh/js/jquery-ui.js' %}">
</script>
-<script type="text/javascript" src="{% static 'yaksh/js/tinymce/js/tinymce/tinymce.min.js' %}"></script>
<script type="text/javascript" src="{% static 'yaksh/js/mathjax/MathJax.js' %}?config=TeX-MML-AM_CHTML">
</script>