From 7b6f4e98e28b579474a6783df3aeaba067dc48c1 Mon Sep 17 00:00:00 2001 From: Felix Lohmeier Date: Wed, 29 Apr 2020 16:07:45 +0200 Subject: [PATCH] get value from codemirror editor --- js/app.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/app.js b/js/app.js index 54d5b75..418316e 100644 --- a/js/app.js +++ b/js/app.js @@ -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($('
  • ').text(warning)); });