Sha256: d4e80b8bc801ca63ff5e34631bf98b81778c4ba29afc5e416bba42abae7eb6c5

Contents?: true

Size: 773 Bytes

Versions: 5

Compression:

Stored size: 773 Bytes

Contents

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>ACE Editor Inside iframe</title>
  <style type="text/css" media="screen">
    body, html { 
        height: 100%;
        margin:0; padding:0;
    }    
    #editor { 
        padding: 20px; margin: 20px
        width: 80%; height: 80%;
    }
  </style>
</head>
<body>
  <div style="height: 100%"></div>
  <div><textarea></textarea></div>
  <iframe id="editor-iframe" src='data:text/html,
  <pre id="editor" style="height:100%"></pre>
  <script src="https://ajaxorg.github.io/ace-builds/src/ace.js"></script>
  <script>
      var editor = ace.edit("editor");
      editor.setTheme("ace/theme/twilight");
      editor.session.setMode("ace/mode/javascript");
  </script>
  '></iframe>
</body>
</html>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/ace-builds/demo/iframe.html
optimacms-0.4.3 spec/dummy/node_modules/ace-builds/demo/iframe.html
optimacms-0.4.2 spec/dummy/node_modules/ace-builds/demo/iframe.html
optimacms-0.3.35 node_modules/ace-builds/demo/iframe.html
optimacms-0.3.34 node_modules/ace-builds/demo/iframe.html