summaryrefslogtreecommitdiff
path: root/yaksh/static/yaksh/js/add_course.js
blob: 0fba2e910868415f872e5f64104c46c55b6db75d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$(document).ready(function () {
    $(function() {
        tinymce.init({
            selector: 'textarea#id_instructions',
            setup : function(ed) {
                  ed.on('change', function(e) {
                     tinymce.triggerSave();
                  });
            },
            max_height: 400,
            height: 400,
            plugins: "image code link",
            convert_urls: false
        });
    });
});