From 1013903fef2943bc061204415bbdb6588c1f0ed1 Mon Sep 17 00:00:00 2001 From: Sebastian Serth Date: Tue, 12 Sep 2023 19:27:52 +0200 Subject: [PATCH] ACE Editor: Restore custom annotations This is a regression introduced by the recent ACE editor update to 1.2.0 and 1.2.9. We should consider this change when working https://github.com/openHPI/codeocean/issues/250. --- vendor/assets/javascripts/ace/ace.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/assets/javascripts/ace/ace.js b/vendor/assets/javascripts/ace/ace.js index 033f8ef0..c7a88bc1 100644 --- a/vendor/assets/javascripts/ace/ace.js +++ b/vendor/assets/javascripts/ace/ace.js @@ -14819,6 +14819,8 @@ var Gutter = function(parentEl) { rowInfo.className = " ace_warning"; else if (type == "info" && (!rowInfo.className)) rowInfo.className = " ace_info"; + else if (!!!type && annotation.className) + rowInfo.className = " " + annotation.className } };