Style updates
This commit is contained in:
parent
10fe461ba5
commit
ecf5d7dce2
2 changed files with 6 additions and 2 deletions
|
|
@ -5,6 +5,10 @@ body {
|
|||
font-family: Helvetica, Arial;
|
||||
}
|
||||
|
||||
#embed_ace_wrapper {
|
||||
height: 525px;
|
||||
}
|
||||
|
||||
.ace_editor_wrapper {
|
||||
height: 275px;
|
||||
position: relative;
|
||||
|
|
|
|||
|
|
@ -137,7 +137,7 @@ console.log(addResult);</div>
|
|||
<h1>Embedding ACE in Your Site</h1>
|
||||
<p>ACE can be easily embedded into a web page:</p>
|
||||
|
||||
<div class="ace_editor_wrapper">
|
||||
<div id="embed_ace_wrapper" class="ace_editor_wrapper">
|
||||
<div id="embedded_ace_code"><!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
|
@ -162,7 +162,7 @@ console.log(addResult);</div>
|
|||
<script src="http://d1n0x3qji82z53.cloudfront.net/src-min-noconflict/ace.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script>
|
||||
var editor = ace.edit("editor");
|
||||
editor.setTheme("ace/theme/twilight");
|
||||
editor.setTheme("ace/theme/monokai");
|
||||
editor.getSession().setMode("ace/mode/javascript");
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue