Commit f43265c2 authored by ThorbenQuast's avatar ThorbenQuast
Browse files

[editor] no undo applicable on initial content, fix #2287

parent e33addd0
......@@ -88,6 +88,8 @@ define(["jquery", "emitter", "./action", "require", "ace/ace", "ace/ext-language
setContent: function(content) {
var UndoManager = require("ace/undomanager").UndoManager;
this.ace.getSession().setUndoManager(new UndoManager());
return this;
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