Skip to content

Commit

Permalink
Merge pull request #1267 from schmidigital/master
Browse files Browse the repository at this point in the history
Demo Page: Adding links to all other demos
  • Loading branch information
j0k3r authored Jan 19, 2017
2 parents 91dc47e + 680aa57 commit 6205a3e
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demo/button-example.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ <h2>Font Awesome</h2>
</div>
<p style="text-align: center;"><small><a style="color: #333;" target="_blank" href="http://www.goodreads.com/reader/475-great-expectations">Source</a></small></p>
<script src="../dist/js/medium-editor.js"></script>
<script src="https://cdn.lukej.me/rangy/1.2.3/rangy-core.js"></script>
<script src="https://cdn.lukej.me/rangy/1.2.3/rangy-cssclassapplier.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rangy/1.3.0/rangy-core.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rangy/1.3.0/rangy-classapplier.min.js"></script>

<script>
rangy.init();
Expand Down
6 changes: 6 additions & 0 deletions demo/css/demo.css
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,12 @@ blockquote {
margin: 30px auto;
}

#all-demos {
text-align: center;
border-bottom: 1px solid #dbdbdb;
padding-bottom: 40px;
}

.editable,
.secondEditable
{
Expand Down
17 changes: 17 additions & 0 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,23 @@
</div>
<div id="container">
<h1>Medium Editor</h1>
<div id="all-demos">
<a href="./absolute-container.html">Absolute Container</a> &#8226;
<a href="./auto-link.html">Auto Link</a> &#8226;
<a href="./button-example.html">Button Example</a> &#8226;
<a href="./clean-paste.html">Clean Paste</a> &#8226;
<a href="./custom-toolbar.html">Custom Toolbar</a> &#8226;
<a href="./extension-example.html">Extension Example</a> &#8226;
<a href="./multi-editor.html">Multi Editor</a> &#8226;
<a href="./multi-one-instance.html">Multi One Instance</a> &#8226;
<a href="./multi-paragraph.html">Multi Paragraph</a> &#8226;
<a href="./nested-editable.html">Nested Editable</a> &#8226;
<a href="./pass-instance.html">Pass Instance</a> &#8226;
<a href="./relative-toolbar.html">Relative Toolbar</a> &#8226;
<a href="./static-toolbar.html">Static Toolbar</a> &#8226;
<a href="./table-extension.html">Table Extension</a> &#8226;
<a href="./textarea.html">Textarea</a>
</div>
<div class="editable">
<p>My father’s family name being <a href="https://en.wikipedia.org/wiki/Pip_(Great_Expectations)">Pirrip</a>, and my Christian name Philip, my infant tongue could make of both names nothing longer or more explicit than Pip. So, I called myself Pip, and came to be called Pip.</p>
<p>I give Pirrip as my father’s family name, on the authority of his tombstone and my sister,—Mrs. Joe Gargery, who married the blacksmith. As I never saw my father or my mother, and never saw any likeness of either of them (for their days were long before the days of photographs), my first fancies regarding what they were like were unreasonably derived from their tombstones. The shape of the letters on my father’s, gave me an odd idea that he was a square, stout, dark man, with curly black hair. From the character and turn of the inscription, “Also Georgiana Wife of the Above,” I drew a childish conclusion that my mother was freckled and sickly. To five little stone lozenges, each about a foot and a half long, which were arranged in a neat row beside their grave, and were sacred to the memory of five little brothers of mine,—who gave up trying to get a living, exceedingly early in that universal struggle,—I am indebted for a belief I religiously entertained that they had all been born on their backs with their hands in their trousers-pockets, and had never taken them out in this state of existence.</p>
Expand Down

0 comments on commit 6205a3e

Please sign in to comment.