committing updated build - adding resize handling, though this is
incomplete.
This commit is contained in:
parent
e320a024aa
commit
7858f84366
3 changed files with 1014 additions and 6610 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
|
@ -65,6 +65,9 @@ var ace = {
|
|||
env.editor = new Editor(new Renderer(el, theme));
|
||||
env.editor.setDocument(doc);
|
||||
env.editor.resize();
|
||||
window.addEventListener("resize", function() {
|
||||
env.editor.resize();
|
||||
}, false);
|
||||
});
|
||||
}
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue