ace_t.html 456 B

123456789101112131415161718
  1. <style type='text/css' media='screen'>
  2. #editor {
  3. position: absolute;
  4. top: 0;
  5. right: 0;
  6. bottom: 0;
  7. left: 0;
  8. }
  9. #textarea{display:none}
  10. </style>
  11. <script src='http://cdn.bootcss.com/ace/1.4.9/ace.js'></script>
  12. <script src='http://cdn.bootcss.com/ace/1.4.9/ext-language_tools.js'></script>
  13. <pre id='editor'></pre>
  14. <script src='ace.js'></script>
  15. <textarea id='textarea'>
  16. &
  17. html.replace(/<font.+\/font>/,'');