Skip to content

Commit

Permalink
put code in one line in desktop
Browse files Browse the repository at this point in the history
  • Loading branch information
jhchen committed Jun 28, 2017
1 parent edf2964 commit 1de0d87
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
3 changes: 3 additions & 0 deletions docs/assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,9 @@ body.home .arrow .shaft {
#demo-container .ql-editor li {
margin-bottom: 0;
}
#demo-container .ql-editor pre {
font-size: 0.8em;
}

/*** Docs ***/

Expand Down
12 changes: 6 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,17 +119,17 @@ <h1 class="ql-align-center">Quill Rich Text Editor</h1>
<p><br></p>
<h2 class="ql-align-center">Getting Started is Easy</h2>
<p><br></p>
<pre>// &lt;link href="https://cdn.quilljs.com/{{site.version}}/quill.snow.css" rel="stylesheet"&gt;
// &lt;script src="https://cdn.quilljs.com/{{site.version}}/quill.min.js" type="text/javascript"&gt;&lt;/script&gt;
<pre class="ql-syntax" spellcheck="false"><span class="hljs-comment">// &lt;link href="https://cdn.quilljs.com/1.2.6/quill.snow.css" rel="stylesheet"&gt;</span>
<span class="hljs-comment">// &lt;script src="https://cdn.quilljs.com/1.2.6/quill.min.js"&gt;&lt;/script&gt;</span>

var quill = new Quill('#editor', {
<span class="hljs-keyword">var</span> quill = <span class="hljs-keyword">new</span> Quill(<span class="hljs-string">'#editor'</span>, {
modules: {
toolbar: '#toolbar'
toolbar: <span class="hljs-string">'#toolbar'</span>
},
theme: 'snow'
theme: <span class="hljs-string">'snow'</span>
});

// Open your browser's developer console to try out the API!
<span class="hljs-comment">// Open your browser's developer console to try out the API!</span>
</pre>
<p><br></p>
<p><br></p>
Expand Down

0 comments on commit 1de0d87

Please sign in to comment.