mercury-rails 0.1.2 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- data/LICENSE +5 -0
- data/{README.rdoc → README.md} +150 -60
- data/VERSION +1 -1
- data/annotated_source.template +57 -0
- data/app/controllers/mercury_controller.rb +8 -4
- data/app/models/image.rb +2 -2
- data/app/views/layouts/mercury.html.erb +14 -0
- data/app/views/mercury/lightviews/about.html +7 -0
- data/app/views/mercury/lightviews/imageprocessor.html +3 -0
- data/app/views/mercury/modals/character.html +255 -0
- data/app/views/mercury/modals/htmleditor.html +13 -0
- data/app/views/mercury/modals/link.html +75 -0
- data/app/views/mercury/modals/media.html +82 -0
- data/app/views/mercury/modals/sanitizer.html +9 -0
- data/app/views/mercury/modals/table.html +84 -0
- data/app/views/mercury/palettes/backcolor.html +73 -0
- data/app/views/mercury/palettes/forecolor.html +73 -0
- data/app/views/mercury/panels/history.html +3 -0
- data/app/views/mercury/panels/notes.html +3 -0
- data/app/views/mercury/panels/snippets.html +12 -0
- data/app/views/mercury/selects/formatblock.html +11 -0
- data/app/views/mercury/selects/style.html +5 -0
- data/app/views/mercury/snippets/example.html.erb +1 -0
- data/app/views/mercury/snippets/example_options.html.erb +23 -0
- data/config/routes.rb +1 -1
- data/features/editing/basic.feature +1 -1
- data/features/support/paths.rb +1 -0
- data/lib/generators/mercury/install/install_generator.rb +14 -0
- data/mercury-rails.gemspec +115 -106
- data/spec/javascripts/mercury/dialog_spec.js.coffee +54 -38
- data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/dialogs/{objectspanel_spec.js.coffee → snippetpanel_spec.js.coffee} +4 -4
- data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/history_buffer_spec.js.coffee +0 -1
- data/spec/javascripts/mercury/lightview_spec.js.coffee +448 -0
- data/spec/javascripts/mercury/mercury_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/modal_spec.js.coffee +474 -0
- data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +8 -2
- data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/native_extensions_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/page_editor_spec.js.coffee +160 -20
- data/spec/javascripts/mercury/palette_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/panel_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/region_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/regions/editable_spec.js.coffee +191 -6
- data/spec/javascripts/mercury/regions/markupable_spec.js.coffee +369 -0
- data/spec/javascripts/mercury/regions/snippetable_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/select_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/snippet_spec.js.coffee +3 -3
- data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +2 -2
- data/spec/javascripts/mercury/statusbar_spec.js.coffee +91 -17
- data/spec/javascripts/mercury/table_editor_spec.js.coffee +5 -1
- data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/toolbar_spec.js.coffee +70 -15
- data/spec/javascripts/mercury/tooltip_spec.js.coffee +1 -1
- data/spec/javascripts/mercury/uploader_spec.js.coffee +9 -1
- data/spec/javascripts/templates/mercury/dialogs/{objectspanel.html → snippetpanel.html} +0 -0
- data/spec/javascripts/templates/mercury/lightview.html +13 -0
- data/spec/javascripts/templates/mercury/modal.html +13 -0
- data/spec/javascripts/templates/mercury/page_editor.html +11 -1
- data/spec/javascripts/templates/mercury/statusbar.html +1 -0
- data/spec/javascripts/templates/mercury/toolbar.html +1 -0
- data/{app → vendor}/assets/images/mercury/button.png +0 -0
- data/{app → vendor}/assets/images/mercury/clippy.png +0 -0
- data/{app → vendor}/assets/images/mercury/default-snippet.png +0 -0
- data/{app → vendor}/assets/images/mercury/loading-dark.gif +0 -0
- data/{app → vendor}/assets/images/mercury/loading-light.gif +0 -0
- data/{app → vendor}/assets/images/mercury/search-icon.png +0 -0
- data/vendor/assets/images/mercury/temp-logo.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/editable/buttons.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/_expander.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/_pressed.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/historypanel.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/insertcharacter.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/insertlink.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/insertmedia.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/inserttable.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/inspectorpanel.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/notespanel.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/preview.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/redo.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/save.png +0 -0
- data/{app/assets/images/mercury/toolbar/primary/objectspanel.png → vendor/assets/images/mercury/toolbar/primary/snippetpanel.png} +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/primary/undo.png +0 -0
- data/{app → vendor}/assets/images/mercury/toolbar/snippetable/buttons.png +0 -0
- data/vendor/assets/javascripts/mercury.js +302 -0
- data/vendor/assets/javascripts/mercury/dialog.js.coffee +157 -0
- data/{app → vendor}/assets/javascripts/mercury/dialogs/backcolor.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dialogs/forecolor.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dialogs/formatblock.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/dialogs/objectspanel.js.coffee +1 -1
- data/{app → vendor}/assets/javascripts/mercury/dialogs/style.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/history_buffer.js.coffee +0 -0
- data/vendor/assets/javascripts/mercury/lightview.js.coffee +156 -0
- data/vendor/assets/javascripts/mercury/lightviews/imageprocessor.js.coffee +2 -0
- data/vendor/assets/javascripts/mercury/mercury.js.coffee +63 -0
- data/{app → vendor}/assets/javascripts/mercury/modal.js.coffee +25 -17
- data/{app → vendor}/assets/javascripts/mercury/modals/htmleditor.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/modals/insertcharacter.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/modals/insertlink.js.coffee +3 -0
- data/{app → vendor}/assets/javascripts/mercury/modals/insertmedia.js.coffee +10 -2
- data/{app → vendor}/assets/javascripts/mercury/modals/insertsnippet.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/modals/inserttable.js.coffee +2 -2
- data/{app → vendor}/assets/javascripts/mercury/native_extensions.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/page_editor.js.coffee +44 -13
- data/{app → vendor}/assets/javascripts/mercury/palette.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/panel.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/region.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/regions/editable.js.coffee +58 -12
- data/{app → vendor}/assets/javascripts/mercury/regions/markupable.js.coffee +26 -24
- data/{app → vendor}/assets/javascripts/mercury/regions/snippetable.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/select.js.coffee +3 -0
- data/{app → vendor}/assets/javascripts/mercury/snippet.js.coffee +9 -5
- data/{app → vendor}/assets/javascripts/mercury/snippet_toolbar.js.coffee +0 -0
- data/vendor/assets/javascripts/mercury/statusbar.js.coffee +51 -0
- data/{app → vendor}/assets/javascripts/mercury/table_editor.js.coffee +9 -8
- data/{app → vendor}/assets/javascripts/mercury/toolbar.button.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/toolbar.button_group.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/toolbar.expander.js.coffee +0 -0
- data/{app → vendor}/assets/javascripts/mercury/toolbar.js.coffee +14 -1
- data/{app → vendor}/assets/javascripts/mercury/tooltip.js.coffee +3 -0
- data/{app → vendor}/assets/javascripts/mercury/uploader.js.coffee +22 -13
- data/vendor/assets/javascripts/{jquery-1.6.js → mercury_dependencies/jquery-1.6.js} +0 -0
- data/vendor/assets/javascripts/{jquery-ui-1.8.13.custom.js → mercury_dependencies/jquery-ui-1.8.13.custom.js} +0 -0
- data/vendor/assets/javascripts/{jquery.additions.js → mercury_dependencies/jquery.additions.js} +0 -0
- data/vendor/assets/javascripts/{liquidmetal.js → mercury_dependencies/liquidmetal.js} +0 -0
- data/vendor/assets/javascripts/{showdown.js → mercury_dependencies/showdown.js} +0 -0
- data/vendor/assets/javascripts/mercury_loader.js +191 -0
- data/{app → vendor}/assets/stylesheets/mercury.css +3 -6
- data/vendor/assets/stylesheets/mercury/dialog.css +199 -0
- data/vendor/assets/stylesheets/mercury/lightview.css +92 -0
- data/vendor/assets/stylesheets/mercury/mercury.css +134 -0
- data/vendor/assets/stylesheets/mercury/modal.css +191 -0
- data/{app/assets/stylesheets/mercury/statusbar.scss → vendor/assets/stylesheets/mercury/statusbar.css} +9 -1
- data/vendor/assets/stylesheets/mercury/toolbar.css +329 -0
- data/{app/assets/stylesheets/mercury/tooltip.scss → vendor/assets/stylesheets/mercury/tooltip.css} +7 -7
- data/vendor/assets/stylesheets/mercury/uploader.css +111 -0
- metadata +230 -225
- data/app/assets/images/mercury/toolbar/markupable/buttons.png +0 -0
- data/app/assets/images/mercury/toolbar/primary/todospanel.png +0 -0
- data/app/assets/javascripts/mercury.js +0 -30
- data/app/assets/javascripts/mercury/dialog.js.coffee +0 -75
- data/app/assets/javascripts/mercury/mercury.js.coffee +0 -286
- data/app/assets/javascripts/mercury/statusbar.js.coffee +0 -29
- data/app/assets/javascripts/mercury_loader.js +0 -98
- data/app/assets/stylesheets/mercury/dialog.scss +0 -179
- data/app/assets/stylesheets/mercury/mercury.scss +0 -127
- data/app/assets/stylesheets/mercury/modal.scss +0 -194
- data/app/assets/stylesheets/mercury/toolbar.scss +0 -415
- data/app/assets/stylesheets/mercury/uploader.scss +0 -109
- data/app/views/layouts/mercury.html.haml +0 -8
- data/app/views/mercury/modals/character.html.haml +0 -252
- data/app/views/mercury/modals/htmleditor.html.haml +0 -8
- data/app/views/mercury/modals/link.html.haml +0 -31
- data/app/views/mercury/modals/media.html.haml +0 -33
- data/app/views/mercury/modals/sanitizer.html.haml +0 -4
- data/app/views/mercury/modals/table.html.haml +0 -49
- data/app/views/mercury/palettes/backcolor.html.haml +0 -79
- data/app/views/mercury/palettes/forecolor.html.haml +0 -79
- data/app/views/mercury/panels/history.html.haml +0 -0
- data/app/views/mercury/panels/notes.html.haml +0 -0
- data/app/views/mercury/panels/snippets.html.haml +0 -10
- data/app/views/mercury/selects/formatblock.html.haml +0 -10
- data/app/views/mercury/selects/style.html.haml +0 -4
- data/app/views/mercury/snippets/example.html.haml +0 -2
- data/app/views/mercury/snippets/example_options.html.haml +0 -16
- data/log/.gitkeep +0 -0
- data/spec/javascripts/mercury/regions/_markupable_.js.coffee +0 -0
@@ -0,0 +1,7 @@
|
|
1
|
+
<div class="mercury-about-lightview">
|
2
|
+
<p>Mercury Editor is an open source project written by <a href="http://twitter.com/jejacks0n" target="_blank">Jeremy Jackson</a> and released under the MIT license. Check the license for more information.</p>
|
3
|
+
<ul>
|
4
|
+
<li><a href="http://jejacks0n.github.com/mercury" target="_blank">Project Home</a></li>
|
5
|
+
<li><a href="http://github.com/jejacks0n/mercury" target="_blank">Project Source</a></li>
|
6
|
+
</ul>
|
7
|
+
</div>
|
@@ -0,0 +1,255 @@
|
|
1
|
+
<form id="mercury_character" style="width:456px">
|
2
|
+
|
3
|
+
<div class="mercury-modal-pane-container">
|
4
|
+
<div class="mercury-modal-pane">
|
5
|
+
<div class="character" data-entity="#34" title="quotation mark (APL quote)">"</div>
|
6
|
+
<div class="character" data-entity="#38" title="ampersand">&</div>
|
7
|
+
<div class="character" data-entity="#60" title="less-than sign"><</div>
|
8
|
+
<div class="character" data-entity="#62" title="greater-than sign">></div>
|
9
|
+
<div class="character" data-entity="#710" title="modifier letter circumflex accent">ˆ</div>
|
10
|
+
<div class="character" data-entity="#732" title="small tilde">˜</div>
|
11
|
+
<div class="character" data-entity="#160" title="non-breaking space"> </div>
|
12
|
+
<div class="character" data-entity="#8194" title="en space"> </div>
|
13
|
+
<div class="character" data-entity="#8195" title="em space"> </div>
|
14
|
+
<div class="character" data-entity="#8201" title="thin space"> </div>
|
15
|
+
<div class="character" data-entity="#8211" title="en dash">–</div>
|
16
|
+
<div class="character" data-entity="#8212" title="em dash">—</div>
|
17
|
+
<div class="character" data-entity="#8216" title="left single quotation mark">‘</div>
|
18
|
+
<div class="character" data-entity="#8217" title="right single quotation mark">’</div>
|
19
|
+
<div class="character" data-entity="#8218" title="single low-9 quotation mark">‚</div>
|
20
|
+
<div class="character" data-entity="#8220" title="left double quotation mark">“</div>
|
21
|
+
<div class="character" data-entity="#8221" title="right double quotation mark">”</div>
|
22
|
+
<div class="character" data-entity="#8222" title="double low-9 quotation mark">„</div>
|
23
|
+
<div class="character" data-entity="#8224" title="dagger">†</div>
|
24
|
+
<div class="character" data-entity="#8225" title="double dagger">‡</div>
|
25
|
+
<div class="character" data-entity="#8240" title="per mille sign">‰</div>
|
26
|
+
<div class="character" data-entity="#8249" title="single left-pointing angle quotation mark">‹</div>
|
27
|
+
<div class="character" data-entity="#8250" title="single right-pointing angle quotation mark">›</div>
|
28
|
+
<div class="character" data-entity="#161" title="inverted exclamation mark">¡</div>
|
29
|
+
<div class="character" data-entity="#162" title="cent sign">¢</div>
|
30
|
+
<div class="character" data-entity="#163" title="pound sign">£</div>
|
31
|
+
<div class="character" data-entity="#164" title="currency sign">¤</div>
|
32
|
+
<div class="character" data-entity="#165" title="yen sign">¥</div>
|
33
|
+
<div class="character" data-entity="#166" title="broken bar">¦</div>
|
34
|
+
<div class="character" data-entity="#167" title="section sign">§</div>
|
35
|
+
<div class="character" data-entity="#168" title="spacing diaeresis">¨</div>
|
36
|
+
<div class="character" data-entity="#169" title="copyright sign">©</div>
|
37
|
+
<div class="character" data-entity="#170" title="feminine ordinal indicator">ª</div>
|
38
|
+
<div class="character" data-entity="#186" title="masculine ordinal indicator">º</div>
|
39
|
+
<div class="character" data-entity="#171" title="left pointing guillemet">«</div>
|
40
|
+
<div class="character" data-entity="#172" title="not sign">¬</div>
|
41
|
+
<div class="character" data-entity="#174" title="registered trade mark sign">®</div>
|
42
|
+
<div class="character" data-entity="#175" title="spacing macron">¯</div>
|
43
|
+
<div class="character" data-entity="#176" title="degree sign">°</div>
|
44
|
+
<div class="character" data-entity="#177" title="plus-or-minus sign">±</div>
|
45
|
+
<div class="character" data-entity="#185" title="superscript one">¹</div>
|
46
|
+
<div class="character" data-entity="#178" title="superscript digit two">²</div>
|
47
|
+
<div class="character" data-entity="#179" title="superscript digit three">³</div>
|
48
|
+
<div class="character" data-entity="#180" title="acute accent">´</div>
|
49
|
+
<div class="character" data-entity="#181" title="micro sign">µ</div>
|
50
|
+
<div class="character" data-entity="#182" title="pilcrow sign">¶</div>
|
51
|
+
<div class="character" data-entity="#183" title="middle dot">·</div>
|
52
|
+
<div class="character" data-entity="#184" title="cedilla">¸</div>
|
53
|
+
<div class="character" data-entity="#187" title="right-pointing double angle quotation mark">»</div>
|
54
|
+
<div class="character" data-entity="#188" title="fraction one quarter">¼</div>
|
55
|
+
<div class="character" data-entity="#189" title="fraction one half">½</div>
|
56
|
+
<div class="character" data-entity="#190" title="fraction three quarters">¾</div>
|
57
|
+
<div class="character" data-entity="#191" title="inverted question mark">¿</div>
|
58
|
+
<div class="character" data-entity="#215" title="multiplication sign">×</div>
|
59
|
+
<div class="character" data-entity="#247" title="division sign">÷</div>
|
60
|
+
<div class="character" data-entity="#192" title="latin capital letter A with grave">À</div>
|
61
|
+
<div class="character" data-entity="#224" title="latin small letter a with grave">à</div>
|
62
|
+
<div class="character" data-entity="#193" title="latin capital letter A with acute">Á</div>
|
63
|
+
<div class="character" data-entity="#225" title="latin small letter a with acute">á</div>
|
64
|
+
<div class="character" data-entity="#194" title="latin capital letter A with circumflex">Â</div>
|
65
|
+
<div class="character" data-entity="#226" title="latin small letter a with circumflex">â</div>
|
66
|
+
<div class="character" data-entity="#195" title="latin capital letter A with tilde">Ã</div>
|
67
|
+
<div class="character" data-entity="#227" title="latin small letter a with tilde">ã</div>
|
68
|
+
<div class="character" data-entity="#196" title="latin capital letter A with diaeresis">Ä</div>
|
69
|
+
<div class="character" data-entity="#228" title="latin small letter a with diaeresis">ä</div>
|
70
|
+
<div class="character" data-entity="#197" title="latin capital letter A with ring above">Å</div>
|
71
|
+
<div class="character" data-entity="#229" title="latin small letter a with ring above">å</div>
|
72
|
+
<div class="character" data-entity="#200" title="latin capital letter E with grave">È</div>
|
73
|
+
<div class="character" data-entity="#232" title="latin small letter e with grave">è</div>
|
74
|
+
<div class="character" data-entity="#201" title="latin capital letter E with acute">É</div>
|
75
|
+
<div class="character" data-entity="#233" title="latin small letter e with acute">é</div>
|
76
|
+
<div class="character" data-entity="#202" title="latin capital letter E with circumflex">Ê</div>
|
77
|
+
<div class="character" data-entity="#234" title="latin small letter e with circumflex">ê</div>
|
78
|
+
<div class="character" data-entity="#203" title="latin capital letter E with diaeresis">Ë</div>
|
79
|
+
<div class="character" data-entity="#235" title="latin small letter e with diaeresis">ë</div>
|
80
|
+
<div class="character" data-entity="#204" title="latin capital letter I with grave">Ì</div>
|
81
|
+
<div class="character" data-entity="#236" title="latin small letter i with grave">ì</div>
|
82
|
+
<div class="character" data-entity="#205" title="latin capital letter I with acute">Í</div>
|
83
|
+
<div class="character" data-entity="#237" title="latin small letter i with acute">í</div>
|
84
|
+
<div class="character" data-entity="#206" title="latin capital letter I with circumflex">Î</div>
|
85
|
+
<div class="character" data-entity="#238" title="latin small letter i with circumflex">î</div>
|
86
|
+
<div class="character" data-entity="#207" title="latin capital letter I with diaeresis">Ï</div>
|
87
|
+
<div class="character" data-entity="#239" title="latin small letter i with diaeresis">ï</div>
|
88
|
+
<div class="character" data-entity="#210" title="latin capital letter O with grave">Ò</div>
|
89
|
+
<div class="character" data-entity="#242" title="latin small letter o with grave">ò</div>
|
90
|
+
<div class="character" data-entity="#211" title="latin capital letter O with acute">Ó</div>
|
91
|
+
<div class="character" data-entity="#243" title="latin small letter o with acute">ó</div>
|
92
|
+
<div class="character" data-entity="#212" title="latin capital letter O with circumflex">Ô</div>
|
93
|
+
<div class="character" data-entity="#244" title="latin small letter o with circumflex">ô</div>
|
94
|
+
<div class="character" data-entity="#213" title="latin capital letter O with tilde">Õ</div>
|
95
|
+
<div class="character" data-entity="#245" title="latin small letter o with tilde">õ</div>
|
96
|
+
<div class="character" data-entity="#214" title="latin capital letter O with diaeresis">Ö</div>
|
97
|
+
<div class="character" data-entity="#246" title="latin small letter o with diaeresis">ö</div>
|
98
|
+
<div class="character" data-entity="#216" title="latin capital letter O with stroke">Ø</div>
|
99
|
+
<div class="character" data-entity="#248" title="latin small letter o with stroke">ø</div>
|
100
|
+
<div class="character" data-entity="#217" title="latin capital letter U with grave">Ù</div>
|
101
|
+
<div class="character" data-entity="#249" title="latin small letter u with grave">ù</div>
|
102
|
+
<div class="character" data-entity="#218" title="latin capital letter U with acute">Ú</div>
|
103
|
+
<div class="character" data-entity="#250" title="latin small letter u with acute">ú</div>
|
104
|
+
<div class="character" data-entity="#219" title="latin capital letter U with circumflex">Û</div>
|
105
|
+
<div class="character" data-entity="#251" title="latin small letter u with circumflex">û</div>
|
106
|
+
<div class="character" data-entity="#220" title="latin capital letter U with diaeresis">Ü</div>
|
107
|
+
<div class="character" data-entity="#252" title="latin small letter u with diaeresis">ü</div>
|
108
|
+
<div class="character" data-entity="#221" title="latin capital letter Y with acute">Ý</div>
|
109
|
+
<div class="character" data-entity="#253" title="latin small letter y with acute">ý</div>
|
110
|
+
<div class="character" data-entity="#376" title="latin capital letter Y with diaeresis">Ÿ</div>
|
111
|
+
<div class="character" data-entity="#255" title="latin small letter y with diaeresis">ÿ</div>
|
112
|
+
<div class="character" data-entity="#198" title="latin capital ligature AE">Æ</div>
|
113
|
+
<div class="character" data-entity="#230" title="latin small ligature ae">æ</div>
|
114
|
+
<div class="character" data-entity="#338" title="latin capital ligature OE">Œ</div>
|
115
|
+
<div class="character" data-entity="#339" title="latin small ligature oe">œ</div>
|
116
|
+
<div class="character" data-entity="#352" title="latin capital letter S with caron">Š</div>
|
117
|
+
<div class="character" data-entity="#353" title="latin small letter s with caron">š</div>
|
118
|
+
<div class="character" data-entity="#199" title="latin capital letter C with cedilla">Ç</div>
|
119
|
+
<div class="character" data-entity="#231" title="latin small letter c with cedilla">ç</div>
|
120
|
+
<div class="character" data-entity="#208" title="latin capital letter ETH">Ð</div>
|
121
|
+
<div class="character" data-entity="#240" title="latin small letter eth">ð</div>
|
122
|
+
<div class="character" data-entity="#209" title="latin capital letter N with tilde">Ñ</div>
|
123
|
+
<div class="character" data-entity="#241" title="latin small letter n with tilde">ñ</div>
|
124
|
+
<div class="character" data-entity="#222" title="latin capital letter THORN">Þ</div>
|
125
|
+
<div class="character" data-entity="#254" title="latin small letter thorn">þ</div>
|
126
|
+
<div class="character" data-entity="#223" title="latin small letter sharp s (ess-zed)">ß</div>
|
127
|
+
<div class="character" data-entity="#402" title="latin small f with hook (function)">ƒ</div>
|
128
|
+
<div class="character" data-entity="#913" title="greek capital letter alpha">Α</div>
|
129
|
+
<div class="character" data-entity="#914" title="greek capital letter beta">Β</div>
|
130
|
+
<div class="character" data-entity="#915" title="greek capital letter gamma">Γ</div>
|
131
|
+
<div class="character" data-entity="#916" title="greek capital letter delta">Δ</div>
|
132
|
+
<div class="character" data-entity="#917" title="greek capital letter epsilon">Ε</div>
|
133
|
+
<div class="character" data-entity="#918" title="greek capital letter zeta">Ζ</div>
|
134
|
+
<div class="character" data-entity="#919" title="greek capital letter eta">Η</div>
|
135
|
+
<div class="character" data-entity="#920" title="greek capital letter theta">Θ</div>
|
136
|
+
<div class="character" data-entity="#921" title="greek capital letter iota">Ι</div>
|
137
|
+
<div class="character" data-entity="#922" title="greek capital letter kappa">Κ</div>
|
138
|
+
<div class="character" data-entity="#923" title="greek capital letter lambda">Λ</div>
|
139
|
+
<div class="character" data-entity="#924" title="greek capital letter mu">Μ</div>
|
140
|
+
<div class="character" data-entity="#925" title="greek capital letter nu">Ν</div>
|
141
|
+
<div class="character" data-entity="#926" title="greek capital letter xi">Ξ</div>
|
142
|
+
<div class="character" data-entity="#927" title="greek capital letter omicron">Ο</div>
|
143
|
+
<div class="character" data-entity="#928" title="greek capital letter pi">Π</div>
|
144
|
+
<div class="character" data-entity="#929" title="greek capital letter rho">Ρ</div>
|
145
|
+
<div class="character" data-entity="#931" title="greek capital letter sigma">Σ</div>
|
146
|
+
<div class="character" data-entity="#932" title="greek capital letter tau">Τ</div>
|
147
|
+
<div class="character" data-entity="#933" title="greek capital letter upsilon">Υ</div>
|
148
|
+
<div class="character" data-entity="#934" title="greek capital letter phi">Φ</div>
|
149
|
+
<div class="character" data-entity="#935" title="greek capital letter chi">Χ</div>
|
150
|
+
<div class="character" data-entity="#936" title="greek capital letter psi">Ψ</div>
|
151
|
+
<div class="character" data-entity="#937" title="greek capital letter omega">Ω</div>
|
152
|
+
<div class="character" data-entity="#945" title="greek small letter alpha">α</div>
|
153
|
+
<div class="character" data-entity="#946" title="greek small letter beta">β</div>
|
154
|
+
<div class="character" data-entity="#947" title="greek small letter gamma">γ</div>
|
155
|
+
<div class="character" data-entity="#948" title="greek small letter delta">δ</div>
|
156
|
+
<div class="character" data-entity="#949" title="greek small letter epsilon">ε</div>
|
157
|
+
<div class="character" data-entity="#950" title="greek small letter zeta">ζ</div>
|
158
|
+
<div class="character" data-entity="#951" title="greek small letter eta">η</div>
|
159
|
+
<div class="character" data-entity="#952" title="greek small letter theta">θ</div>
|
160
|
+
<div class="character" data-entity="#953" title="greek small letter iota">ι</div>
|
161
|
+
<div class="character" data-entity="#954" title="greek small letter kappa">κ</div>
|
162
|
+
<div class="character" data-entity="#955" title="greek small letter lambda">λ</div>
|
163
|
+
<div class="character" data-entity="#956" title="greek small letter mu">μ</div>
|
164
|
+
<div class="character" data-entity="#957" title="greek small letter nu">ν</div>
|
165
|
+
<div class="character" data-entity="#958" title="greek small letter xi">ξ</div>
|
166
|
+
<div class="character" data-entity="#959" title="greek small letter omicron">ο</div>
|
167
|
+
<div class="character" data-entity="#960" title="greek small letter pi">π</div>
|
168
|
+
<div class="character" data-entity="#961" title="greek small letter rho">ρ</div>
|
169
|
+
<div class="character" data-entity="#962" title="greek small letter final sigma">ς</div>
|
170
|
+
<div class="character" data-entity="#963" title="greek small letter sigma">σ</div>
|
171
|
+
<div class="character" data-entity="#964" title="greek small letter tau">τ</div>
|
172
|
+
<div class="character" data-entity="#965" title="greek small letter upsilon">υ</div>
|
173
|
+
<div class="character" data-entity="#966" title="greek small letter phi">φ</div>
|
174
|
+
<div class="character" data-entity="#967" title="greek small letter chi">χ</div>
|
175
|
+
<div class="character" data-entity="#968" title="greek small letter psi">ψ</div>
|
176
|
+
<div class="character" data-entity="#969" title="greek small letter omega">ω</div>
|
177
|
+
<div class="character" data-entity="#977" title="greek small letter theta symbol">ϑ</div>
|
178
|
+
<div class="character" data-entity="#978" title="greek upsilon with hook symbol">ϒ</div>
|
179
|
+
<div class="character" data-entity="#982" title="greek pi symbol">ϖ</div>
|
180
|
+
<div class="character" data-entity="#8226" title="bullet (black small circle)">•</div>
|
181
|
+
<div class="character" data-entity="#8230" title="horizontal ellipsis">…</div>
|
182
|
+
<div class="character" data-entity="#8242" title="prime (minutes/feet)">′</div>
|
183
|
+
<div class="character" data-entity="#8243" title="double prime (seconds/inches)">″</div>
|
184
|
+
<div class="character" data-entity="#8254" title="overline">‾</div>
|
185
|
+
<div class="character" data-entity="#8260" title="fraction slash">⁄</div>
|
186
|
+
<div class="character" data-entity="#8472" title="Weierstrass p">℘</div>
|
187
|
+
<div class="character" data-entity="#8465" title="imaginary part">ℑ</div>
|
188
|
+
<div class="character" data-entity="#8476" title="real part symbol">ℜ</div>
|
189
|
+
<div class="character" data-entity="#8482" title="trade mark sign">™</div>
|
190
|
+
<div class="character" data-entity="#8501" title="first transfinite cardinal">ℵ</div>
|
191
|
+
<div class="character" data-entity="#8592" title="leftwards arrow">←</div>
|
192
|
+
<div class="character" data-entity="#8593" title="upwards arrow">↑</div>
|
193
|
+
<div class="character" data-entity="#8594" title="rightwards arrow">→</div>
|
194
|
+
<div class="character" data-entity="#8595" title="downwards arrow">↓</div>
|
195
|
+
<div class="character" data-entity="#8596" title="left right arrow">↔</div>
|
196
|
+
<div class="character" data-entity="#8629" title="downwards arrow with corner leftwards">↵</div>
|
197
|
+
<div class="character" data-entity="#8656" title="leftwards double arrow">⇐</div>
|
198
|
+
<div class="character" data-entity="#8657" title="upwards double arrow">⇑</div>
|
199
|
+
<div class="character" data-entity="#8658" title="rightwards double arrow">⇒</div>
|
200
|
+
<div class="character" data-entity="#8659" title="downwards double arrow">⇓</div>
|
201
|
+
<div class="character" data-entity="#8660" title="left right double arrow">⇔</div>
|
202
|
+
<div class="character" data-entity="#8704" title="for all">∀</div>
|
203
|
+
<div class="character" data-entity="#8706" title="partial differential">∂</div>
|
204
|
+
<div class="character" data-entity="#8707" title="there exists">∃</div>
|
205
|
+
<div class="character" data-entity="#8709" title="empty set (null set/diameter)">∅</div>
|
206
|
+
<div class="character" data-entity="#8711" title="nabla (backward difference)">∇</div>
|
207
|
+
<div class="character" data-entity="#8712" title="element of">∈</div>
|
208
|
+
<div class="character" data-entity="#8713" title="not an element of">∉</div>
|
209
|
+
<div class="character" data-entity="#8715" title="contains as member">∋</div>
|
210
|
+
<div class="character" data-entity="#8719" title="n-ary product (product sign)">∏</div>
|
211
|
+
<div class="character" data-entity="#8721" title="n-ary sumation">∑</div>
|
212
|
+
<div class="character" data-entity="#8722" title="minus sign">−</div>
|
213
|
+
<div class="character" data-entity="#8727" title="asterisk operator">∗</div>
|
214
|
+
<div class="character" data-entity="#8730" title="square root (radical sign)">√</div>
|
215
|
+
<div class="character" data-entity="#8733" title="proportional to">∝</div>
|
216
|
+
<div class="character" data-entity="#8734" title="infinity">∞</div>
|
217
|
+
<div class="character" data-entity="#8736" title="angle">∠</div>
|
218
|
+
<div class="character" data-entity="#8743" title="logical and (wedge)">∧</div>
|
219
|
+
<div class="character" data-entity="#8744" title="logical or (vee)">∨</div>
|
220
|
+
<div class="character" data-entity="#8745" title="intersection (cap)">∩</div>
|
221
|
+
<div class="character" data-entity="#8746" title="union (cup)">∪</div>
|
222
|
+
<div class="character" data-entity="#8747" title="integral">∫</div>
|
223
|
+
<div class="character" data-entity="#8756" title="therefore">∴</div>
|
224
|
+
<div class="character" data-entity="#8764" title="tilde operator (varies with/similar to)">∼</div>
|
225
|
+
<div class="character" data-entity="#8773" title="approximately equal to">≅</div>
|
226
|
+
<div class="character" data-entity="#8776" title="almost equal to (asymptotic to)">≈</div>
|
227
|
+
<div class="character" data-entity="#8800" title="not equal to">≠</div>
|
228
|
+
<div class="character" data-entity="#8801" title="identical to">≡</div>
|
229
|
+
<div class="character" data-entity="#8804" title="less-than or equal to">≤</div>
|
230
|
+
<div class="character" data-entity="#8805" title="greater-than or equal to">≥</div>
|
231
|
+
<div class="character" data-entity="#8834" title="subset of">⊂</div>
|
232
|
+
<div class="character" data-entity="#8835" title="superset of">⊃</div>
|
233
|
+
<div class="character" data-entity="#8836" title="not a subset of">⊄</div>
|
234
|
+
<div class="character" data-entity="#8838" title="subset of or equal to">⊆</div>
|
235
|
+
<div class="character" data-entity="#8839" title="superset of or equal to">⊇</div>
|
236
|
+
<div class="character" data-entity="#8853" title="circled plus (direct sum)">⊕</div>
|
237
|
+
<div class="character" data-entity="#8855" title="circled times (vector product)">⊗</div>
|
238
|
+
<div class="character" data-entity="#8869" title="up tack (orthogonal to/perpendicular)">⊥</div>
|
239
|
+
<div class="character" data-entity="#8901" title="dot operator">⋅</div>
|
240
|
+
<div class="character" data-entity="#8968" title="left ceiling (apl upstile)">⌈</div>
|
241
|
+
<div class="character" data-entity="#8969" title="right ceiling">⌉</div>
|
242
|
+
<div class="character" data-entity="#8970" title="left floor (apl downstile)">⌊</div>
|
243
|
+
<div class="character" data-entity="#8971" title="right floor">⌋</div>
|
244
|
+
<div class="character" data-entity="#9001" title="left-pointing angle bracket (bra)">〈</div>
|
245
|
+
<div class="character" data-entity="#9002" title="right-pointing angle bracket (ket)">〉</div>
|
246
|
+
<div class="character" data-entity="#9674" title="lozenge">◊</div>
|
247
|
+
<div class="character" data-entity="#9824" title="black spade suit">♠</div>
|
248
|
+
<div class="character" data-entity="#9827" title="black club suit (shamrock)">♣</div>
|
249
|
+
<div class="character" data-entity="#9829" title="black heart suit (valentine)">♥</div>
|
250
|
+
<div class="character" data-entity="#9830" title="black diamond suit">♦</div>
|
251
|
+
<div class="character" data-entity="#x2603" title="snowman">☃</div>
|
252
|
+
</div>
|
253
|
+
</div>
|
254
|
+
|
255
|
+
</form>
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<form id="mercury_html_editor" style="width:650px">
|
2
|
+
|
3
|
+
<textarea class="mercury-modal-pane-container" rows="5"></textarea>
|
4
|
+
|
5
|
+
<div class="mercury-modal-controls">
|
6
|
+
<fieldset class="buttons">
|
7
|
+
<ol>
|
8
|
+
<li class="commit button"><input class="submit" name="commit" type="submit" value="Save and Replace"/></li>
|
9
|
+
</ol>
|
10
|
+
</fieldset>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
</form>
|
@@ -0,0 +1,75 @@
|
|
1
|
+
<form id="mercury_link" style="width:600px">
|
2
|
+
|
3
|
+
<div class="mercury-modal-pane-container">
|
4
|
+
<div class="mercury-modal-pane">
|
5
|
+
|
6
|
+
<fieldset class="inputs" id="link_text_container">
|
7
|
+
<ol>
|
8
|
+
<li id="link_text_input" class="string input optional stringish">
|
9
|
+
<label class="label" for="link_text">Link Content</label>
|
10
|
+
<input id="link_text" name="link[text]" type="text"/>
|
11
|
+
</li>
|
12
|
+
</ol>
|
13
|
+
</fieldset>
|
14
|
+
|
15
|
+
<fieldset class="inputs">
|
16
|
+
<legend><span>Standard Links</span></legend>
|
17
|
+
<ol>
|
18
|
+
<li id="link_external_url_input" class="string input optional stringish">
|
19
|
+
<label class="label" for="link_external_url"><input name="link_type" type="radio" value="external_url" checked="checked"/>URL</label>
|
20
|
+
<input class="selectable" id="link_external_url" name="link[external_url]" type="text"/>
|
21
|
+
</li>
|
22
|
+
</ol>
|
23
|
+
</fieldset>
|
24
|
+
|
25
|
+
<fieldset class="inputs">
|
26
|
+
<legend><span>Index / Bookmark Links</span></legend>
|
27
|
+
<ol>
|
28
|
+
<li id="link_existing_bookmark_input" class="select input optional">
|
29
|
+
<label class="label" for="link_existing_bookmark"><input name="link_type" type="radio" value="existing_bookmark"/>Existing Links</label>
|
30
|
+
<select class="selectable" id="link_existing_bookmark" name="link[existing_bookmark]"></select>
|
31
|
+
</li>
|
32
|
+
<li id="link_new_bookmark_input" class="string input optional stringish">
|
33
|
+
<label class="label" for="link_new_bookmark"><input name="link_type" type="radio" value="new_bookmark"/>Bookmark</label>
|
34
|
+
<input class="selectable" id="link_new_bookmark" name="link[new_bookmark]" type="text"/>
|
35
|
+
</li>
|
36
|
+
</ol>
|
37
|
+
</fieldset>
|
38
|
+
|
39
|
+
<fieldset class="inputs">
|
40
|
+
<legend><span>Options</span></legend>
|
41
|
+
<ol>
|
42
|
+
<li id="link_target_input" class="select input optional">
|
43
|
+
<label class="label" for="link_target">Link Target</label>
|
44
|
+
<select id="link_target" name="link[target]">
|
45
|
+
<option value="">Self (the same window or tab)</option>
|
46
|
+
<option value="_blank">Blank (a new window or tab)</option>
|
47
|
+
<option value="_top">Top (removes any frames)</option>
|
48
|
+
<option value="popup">Popup Window (javascript new window popup)</option>
|
49
|
+
</select>
|
50
|
+
</li>
|
51
|
+
<div id="popup_options" class="link-target-options" style="display:none">
|
52
|
+
<li id="link_popup_width_input" class="string input optional stringish">
|
53
|
+
<label class="label" for="link_popup_width">Popup Width</label>
|
54
|
+
<input id="link_popup_width" name="link[popup_width]" type="text"/>
|
55
|
+
</li>
|
56
|
+
<li id="link_popup_height_input" class="string input optional stringish">
|
57
|
+
<label class="label" for="link_popup_height">Popup Height</label>
|
58
|
+
<input id="link_popup_height" name="link[popup_height]" type="text"/>
|
59
|
+
</li>
|
60
|
+
</div>
|
61
|
+
</ol>
|
62
|
+
</fieldset>
|
63
|
+
|
64
|
+
</div>
|
65
|
+
</div>
|
66
|
+
|
67
|
+
<div class="mercury-modal-controls">
|
68
|
+
<fieldset class="buttons">
|
69
|
+
<ol>
|
70
|
+
<li class="commit button"><input class="submit" name="commit" type="submit" value="Insert Link"/></li>
|
71
|
+
</ol>
|
72
|
+
</fieldset>
|
73
|
+
</div>
|
74
|
+
|
75
|
+
</form>
|
@@ -0,0 +1,82 @@
|
|
1
|
+
<form id="mercury_media" style="width:600px">
|
2
|
+
|
3
|
+
<div class="mercury-modal-pane-container">
|
4
|
+
<div class="mercury-modal-pane">
|
5
|
+
|
6
|
+
<fieldset class="inputs">
|
7
|
+
<legend><span>Images</span></legend>
|
8
|
+
<ol>
|
9
|
+
<li id="media_image_url_input" class="string input optional stringish">
|
10
|
+
<label class="label" for="media_image_url"><input name="media_type" type="radio" value="image_url" checked="checked"/>URL</label>
|
11
|
+
<input class="selectable" id="media_image_url" name="media[image_url]" type="text"/>
|
12
|
+
</li>
|
13
|
+
</ol>
|
14
|
+
</fieldset>
|
15
|
+
|
16
|
+
<fieldset class="inputs">
|
17
|
+
<legend><span>Videos</span></legend>
|
18
|
+
<ol>
|
19
|
+
<li id="media_youtube_url_input" class="string input optional stringish">
|
20
|
+
<label class="label" for="media_youtube_url"><input name="media_type" type="radio" value="youtube_url"/>YouTube Share URL</label>
|
21
|
+
<input class="selectable" id="media_youtube_url" name="media[youtube_url]" type="text" placeholder="http://youtu.be/Pny4hoN8eII"/>
|
22
|
+
</li>
|
23
|
+
<li id="media_vimeo_url_input" class="string input optional stringish">
|
24
|
+
<label class="label" for="media_vimeo_url"><input name="media_type" type="radio" value="vimeo_url"/>Vimeo URL</label>
|
25
|
+
<input class="selectable" id="media_vimeo_url" name="media[vimeo_url]" type="text" placeholder="http://vimeo.com/25708134"/>
|
26
|
+
</li>
|
27
|
+
</ol>
|
28
|
+
</fieldset>
|
29
|
+
|
30
|
+
<fieldset class="inputs">
|
31
|
+
<legend><span>Options</span></legend>
|
32
|
+
<ol>
|
33
|
+
<div id="image_url" class="media-options">
|
34
|
+
<li id="media_image_alignment_input" class="select input optional">
|
35
|
+
<label class="label" for="media_image_alignment">Alignment</label>
|
36
|
+
<select id="media_image_alignment" name="media[image_alignment]">
|
37
|
+
<option value="">None</option>
|
38
|
+
<option value="left">Left</option>
|
39
|
+
<option value="right">Right</option>
|
40
|
+
<option value="top">Top</option>
|
41
|
+
<option value="middle">Middle</option>
|
42
|
+
<option value="bottom">Bottom</option>
|
43
|
+
<option value="absmiddle">Absolute Middle</option>
|
44
|
+
<option value="absbottom">Absolute Bottom</option>
|
45
|
+
</select>
|
46
|
+
</li>
|
47
|
+
</div>
|
48
|
+
<div id="youtube_url" class="media-options" style="display:none">
|
49
|
+
<li id="media_youtube_width_input" class="string input optional stringish">
|
50
|
+
<label class="label" for="media_youtube_width">Width</label>
|
51
|
+
<input id="media_youtube_width" name="media[youtube_width]" type="text" value="560"/>
|
52
|
+
</li>
|
53
|
+
<li id="media_youtube_height_input" class="string input optional stringish">
|
54
|
+
<label class="label" for="media_youtube_height">Height</label>
|
55
|
+
<input id="media_youtube_height" name="media[youtube_height]" type="text" value="349"/>
|
56
|
+
</li>
|
57
|
+
</div>
|
58
|
+
<div id="vimeo_url" class="media-options" style="display:none">
|
59
|
+
<li id="media_vimeo_width_input" class="string input optional stringish">
|
60
|
+
<label class="label" for="media_vimeo_width">Width</label>
|
61
|
+
<input id="media_vimeo_width" name="media[vimeo_width]" type="text" value="400"/>
|
62
|
+
</li>
|
63
|
+
<li id="media_vimeo_height_input" class="string input optional stringish">
|
64
|
+
<label class="label" for="media_vimeo_height">Height</label>
|
65
|
+
<input id="media_vimeo_height" name="media[vimeo_height]" type="text" value="225"/>
|
66
|
+
</li>
|
67
|
+
</div>
|
68
|
+
</ol>
|
69
|
+
</fieldset>
|
70
|
+
|
71
|
+
</div>
|
72
|
+
</div>
|
73
|
+
|
74
|
+
<div class="mercury-modal-controls">
|
75
|
+
<fieldset class="buttons">
|
76
|
+
<ol>
|
77
|
+
<li class="commit button"><input class="submit" name="commit" type="submit" value="Insert Media"/></li>
|
78
|
+
</ol>
|
79
|
+
</fieldset>
|
80
|
+
</div>
|
81
|
+
|
82
|
+
</form>
|
@@ -0,0 +1,9 @@
|
|
1
|
+
<div id="mercury_sanitizer" style="width:450px">
|
2
|
+
|
3
|
+
<div class="information">It looks like you've pasted directly from Microsoft Office!<br/><br/>Sadly though, your browser wasn't able to properly handle what you pasted. But that's ok, because I've sanitized it for you!</div>
|
4
|
+
|
5
|
+
<textarea rows="20" wrap="off"></textarea>
|
6
|
+
|
7
|
+
<strong>You can just copy and paste the sanitized content that appears above.</strong>
|
8
|
+
|
9
|
+
</div>
|