update packaged ace
This commit is contained in:
parent
cbd1baed6e
commit
9154938173
3 changed files with 976 additions and 948 deletions
|
|
@ -51,6 +51,15 @@ The easiest version is simply:
|
|||
var editor = ace.edit("editor");
|
||||
};
|
||||
</script>
|
||||
|
||||
With "editor" being the id of the DOM element, which should be converted to an editor. Note that this element must be explicitly sized and positioned `absolute` or `relative` for Ace to work. e.g.
|
||||
|
||||
#editor {
|
||||
position: absolute;
|
||||
width: 500px;
|
||||
height: 400px;
|
||||
}
|
||||
|
||||
|
||||
To change the theme simply include the Theme's JavaScript file
|
||||
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue