reload-0.0.0.1: web/bower_components/juicy-ace-editor/index.html
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title><juicy-ace-editor></title>
<link rel="stylesheet" href="http://juicy.github.io/juicy-tile-list/examples/github-markdown.css">
<!-- Importing Web Component's Polyfill -->
<script src="//cdn.jsdelivr.net/webcomponentsjs/0.7.10/webcomponents.min.js"></script>
<!-- Importing Custom Elements -->
<link rel="import" href="juicy-ace-editor.html">
<style type="text/css" media="screen">
html,body{
height: 100%;
}
#editor {
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 40%;
}
juicy-ace-editor {
margin: 15px 15px;
width: 45%;
min-height: 12em;
}
.markdown-body{
margin: 1em auto;
width: 70%;
}
.code-comparison{
display: flex;
justify-content: space-around ;
}
.code-comparison>section{
width: 45%;
}
iframe{ float: right; }
</style>
</head>
<body>
<article class="markdown-body">
<iframe src="http://ghbtns.com/github-btn.html?user=juicy&repo=juicy-ace-editor&type=fork&count=true&size=medium"
allowtransparency="true" frameborder="0" scrolling="0" width="90" height="30"></iframe>
<iframe src="http://ghbtns.com/github-btn.html?user=juicy&repo=juicy-ace-editor&type=watch&count=true&size=medium"
allowtransparency="true" frameborder="0" scrolling="0" width="90" height="30"></iframe>
<h1><juicy-ace-editor></h1>
<blockquote><p>
Even <strong>more</strong> embeddable code editor.
Custom Element - just one tag, and no JS needed to provide <a href="http://ace.c9.io/">Ace</a>
- The High Performance Code Editor</p></blockquote>
<!-- Using Custom Elements -->
<div class="code-comparison">
<section>
<p>Here you have:
<pre><juicy-ace-editor theme="ace/theme/monokai" mode="ace/mode/html">
<juicy-ace-editor></pre>element.
</p>
<p>
You can switch modes and themes as regular HTML attributes to
<a href="https://github.com/ajaxorg/ace-builds/tree/master/src">
whatever is supported by Ace
</a>
</p>
</section>
<juicy-ace-editor theme="ace/theme/monokai" mode="ace/mode/html"><p>Here you have:
<pre>&lt;juicy-ace-editor theme="ace/theme/monokai" mode="ace/mode/html"&gt;
&lt;/juicy-ace-editor&gt;</pre>element.
</p>
<p>
You can switch modes and themes as regular HTML attributes to
<a href="https://github.com/ajaxorg/ace-builds/tree/master/src">
whatever is supported by Ace
</a>
</p>
</juicy-ace-editor>
</div>
<p>Ok, in fact you have seen
<pre><juicy-ace-editor theme="ace/theme/monokai" mode="ace/mode/html">&lt;p&gt;Here you have:..</pre>
</p>
<h3>Looking for a more full-featured demo? Check out the <a href="kitchen-sink.html">kitchen sink</a>.</h3>
</article>
</body>
</html>