get value from codemirror editor

This commit is contained in:
Felix Lohmeier 2020-04-29 16:07:45 +02:00
parent 8556cd02de
commit 7b6f4e98e2
1 changed files with 1 additions and 1 deletions

View File

@ -3,7 +3,7 @@ $("#btn_validate").click( function () {
$("#errors").html("");
$("#results").html("");
validate($("#ta_turtle").val(), function (feedback) {
validate($(editor.getValue()).val(), function (feedback) {
$.each(feedback.warnings, function (index, warning) {
$("#warnings").append($('<li id="warning' + index + '">').text(warning));
});