fix reattaching linewidgets to editor
This commit is contained in:
parent
6c0bc56500
commit
a1042e0d94
3 changed files with 12 additions and 16 deletions
|
|
@ -96,9 +96,6 @@ require("ace/commands/default_commands").commands.push({
|
|||
|
||||
editor.keyBinding.addKeyboardHandler(kb);
|
||||
inlineEditor.keyBinding.addKeyboardHandler(kb);
|
||||
editor.on("changeSession", function(e) {
|
||||
w.el.parentNode && w.el.parentNode.removeChild(w.el);
|
||||
});
|
||||
inlineEditor.setTheme("ace/theme/solarized_light");
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue