Commit 803acf98 authored by David Paul's avatar David Paul
Browse files

Make trimmed whitespace show in diff

parent 9ea22a3f
......@@ -24,7 +24,7 @@ require_once("lti_util/lti_util.php");
require.config({ paths: { vs: 'node_modules/monaco-editor/min/vs' } });
require(['vs/editor/editor.main'], function () {
editor = monaco.editor.create(document.getElementById('editor'), {value: "", language: 'python', minimap: {enabled: false}});
diffEditor = monaco.editor.createDiffEditor(document.getElementById('diffEditor'));
diffEditor = monaco.editor.createDiffEditor(document.getElementById('diffEditor'), {ignoreTrimWhitespace: false});
brython();
});
});
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment