diff options
author | CruiseDevice | 2020-10-01 14:42:41 +0530 |
---|---|---|
committer | CruiseDevice | 2020-10-01 14:42:41 +0530 |
commit | d1de6058253c5df8984ac36d9de33396a368edce (patch) | |
tree | 54d747f97bd597ba82829fc9b45cc16a6c89300c | |
parent | d6fe6e10d13631998135c825e1f0cba3f3ffeb61 (diff) | |
download | online_test-d1de6058253c5df8984ac36d9de33396a368edce.tar.gz online_test-d1de6058253c5df8984ac36d9de33396a368edce.tar.bz2 online_test-d1de6058253c5df8984ac36d9de33396a368edce.zip |
Remove tinymce editor from add_lesson page
-rw-r--r-- | yaksh/static/yaksh/js/lesson.js | 14 | ||||
-rw-r--r-- | yaksh/templates/yaksh/add_lesson.html | 1 |
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> |