Permalink
Browse files

Ticket #198 - Added docs for string option

  • Loading branch information...
1 parent baea637 commit e69d02e9c0c0509d3d0d4ed1392f6f1ad39916dc @OscarGodson committed Jan 16, 2013
Showing with 40 additions and 0 deletions.
  1. +20 −0 README.md
  2. +20 −0 index.html
View
@@ -71,6 +71,11 @@ var opts = {
modifier: 18,
fullscreen: 70,
preview: 80
+ },
+ string: {
+ togglePreview: 'Toggle Preview Mode',
+ toggleEdit: 'Toggle Edit Mode',
+ toggleFullscreen: 'Enter Fullscreen'
}
}
var editor = new EpicEditor(opts);
@@ -163,6 +168,21 @@ var editor = new EpicEditor(opts);
<td>The shortcut to toggle the previewer.</td>
<td><code>80</code> (<code>p</code> key)</td>
</tr>
+ <tr>
+ <td><code>string.togglePreview</code></td>
+ <td>The tooltip text that appears when hovering the preview icon.</td>
+ <td><code>Toggle Preview Mode</code></td>
+ </tr>
+ <tr>
+ <td><code>string.toggleEdit</code></td>
+ <td>The tooltip text that appears when hovering the edit icon.</td>
+ <td><code>Toggle Edit Mode</code></td>
+ </tr>
+ <tr>
+ <td><code>string.toggleFullscreen</code></td>
+ <td>The tooltip text that appears when hovering the fullscreen icon.</td>
+ <td><code>Enter Fullscreen</code></td>
+ </tr>
</table>
### load([_callback_])
View
@@ -76,6 +76,11 @@
modifier: 18,
fullscreen: 70,
preview: 80
+ },
+ string: {
+ togglePreview: &#39;Toggle Preview Mode&#39;,
+ toggleEdit: &#39;Toggle Edit Mode&#39;,
+ toggleFullscreen: &#39;Enter Fullscreen&#39;
}
}
var editor = new EpicEditor(opts);</code></pre>
@@ -166,6 +171,21 @@
<td>The shortcut to toggle the previewer.</td>
<td><code>80</code> (<code>p</code> key)</td>
</tr>
+ <tr>
+ <td><code>string.togglePreview</code></td>
+ <td>The tooltip text that appears when hovering the preview icon.</td>
+ <td><code>Toggle Preview Mode</code></td>
+ </tr>
+ <tr>
+ <td><code>string.toggleEdit</code></td>
+ <td>The tooltip text that appears when hovering the edit icon.</td>
+ <td><code>Toggle Edit Mode</code></td>
+ </tr>
+ <tr>
+ <td><code>string.toggleFullscreen</code></td>
+ <td>The tooltip text that appears when hovering the fullscreen icon.</td>
+ <td><code>Enter Fullscreen</code></td>
+ </tr>
</table>
<h3>load([<em>callback</em>])</h3>

0 comments on commit e69d02e

Please sign in to comment.