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.
Files changed (176) hide show
  1. data/LICENSE +5 -0
  2. data/{README.rdoc → README.md} +150 -60
  3. data/VERSION +1 -1
  4. data/annotated_source.template +57 -0
  5. data/app/controllers/mercury_controller.rb +8 -4
  6. data/app/models/image.rb +2 -2
  7. data/app/views/layouts/mercury.html.erb +14 -0
  8. data/app/views/mercury/lightviews/about.html +7 -0
  9. data/app/views/mercury/lightviews/imageprocessor.html +3 -0
  10. data/app/views/mercury/modals/character.html +255 -0
  11. data/app/views/mercury/modals/htmleditor.html +13 -0
  12. data/app/views/mercury/modals/link.html +75 -0
  13. data/app/views/mercury/modals/media.html +82 -0
  14. data/app/views/mercury/modals/sanitizer.html +9 -0
  15. data/app/views/mercury/modals/table.html +84 -0
  16. data/app/views/mercury/palettes/backcolor.html +73 -0
  17. data/app/views/mercury/palettes/forecolor.html +73 -0
  18. data/app/views/mercury/panels/history.html +3 -0
  19. data/app/views/mercury/panels/notes.html +3 -0
  20. data/app/views/mercury/panels/snippets.html +12 -0
  21. data/app/views/mercury/selects/formatblock.html +11 -0
  22. data/app/views/mercury/selects/style.html +5 -0
  23. data/app/views/mercury/snippets/example.html.erb +1 -0
  24. data/app/views/mercury/snippets/example_options.html.erb +23 -0
  25. data/config/routes.rb +1 -1
  26. data/features/editing/basic.feature +1 -1
  27. data/features/support/paths.rb +1 -0
  28. data/lib/generators/mercury/install/install_generator.rb +14 -0
  29. data/mercury-rails.gemspec +115 -106
  30. data/spec/javascripts/mercury/dialog_spec.js.coffee +54 -38
  31. data/spec/javascripts/mercury/dialogs/backcolor_spec.js.coffee +1 -1
  32. data/spec/javascripts/mercury/dialogs/forecolor_spec.js.coffee +1 -1
  33. data/spec/javascripts/mercury/dialogs/formatblock_spec.js.coffee +1 -1
  34. data/spec/javascripts/mercury/dialogs/{objectspanel_spec.js.coffee → snippetpanel_spec.js.coffee} +4 -4
  35. data/spec/javascripts/mercury/dialogs/style_spec.js.coffee +1 -1
  36. data/spec/javascripts/mercury/history_buffer_spec.js.coffee +0 -1
  37. data/spec/javascripts/mercury/lightview_spec.js.coffee +448 -0
  38. data/spec/javascripts/mercury/mercury_spec.js.coffee +1 -1
  39. data/spec/javascripts/mercury/modal_spec.js.coffee +474 -0
  40. data/spec/javascripts/mercury/modals/htmleditor_spec.js.coffee +1 -1
  41. data/spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee +1 -1
  42. data/spec/javascripts/mercury/modals/insertlink_spec.js.coffee +8 -2
  43. data/spec/javascripts/mercury/modals/insertmedia_spec.js.coffee +1 -1
  44. data/spec/javascripts/mercury/modals/insertsnippet_spec.js.coffee +1 -1
  45. data/spec/javascripts/mercury/modals/inserttable_spec.js.coffee +1 -1
  46. data/spec/javascripts/mercury/native_extensions_spec.js.coffee +1 -1
  47. data/spec/javascripts/mercury/page_editor_spec.js.coffee +160 -20
  48. data/spec/javascripts/mercury/palette_spec.js.coffee +1 -1
  49. data/spec/javascripts/mercury/panel_spec.js.coffee +1 -1
  50. data/spec/javascripts/mercury/region_spec.js.coffee +1 -1
  51. data/spec/javascripts/mercury/regions/editable_spec.js.coffee +191 -6
  52. data/spec/javascripts/mercury/regions/markupable_spec.js.coffee +369 -0
  53. data/spec/javascripts/mercury/regions/snippetable_spec.js.coffee +1 -1
  54. data/spec/javascripts/mercury/select_spec.js.coffee +1 -1
  55. data/spec/javascripts/mercury/snippet_spec.js.coffee +3 -3
  56. data/spec/javascripts/mercury/snippet_toolbar_spec.js.coffee +2 -2
  57. data/spec/javascripts/mercury/statusbar_spec.js.coffee +91 -17
  58. data/spec/javascripts/mercury/table_editor_spec.js.coffee +5 -1
  59. data/spec/javascripts/mercury/toolbar.button_group_spec.js.coffee +1 -1
  60. data/spec/javascripts/mercury/toolbar.button_spec.js.coffee +1 -1
  61. data/spec/javascripts/mercury/toolbar.expander_spec.js.coffee +1 -1
  62. data/spec/javascripts/mercury/toolbar_spec.js.coffee +70 -15
  63. data/spec/javascripts/mercury/tooltip_spec.js.coffee +1 -1
  64. data/spec/javascripts/mercury/uploader_spec.js.coffee +9 -1
  65. data/spec/javascripts/templates/mercury/dialogs/{objectspanel.html → snippetpanel.html} +0 -0
  66. data/spec/javascripts/templates/mercury/lightview.html +13 -0
  67. data/spec/javascripts/templates/mercury/modal.html +13 -0
  68. data/spec/javascripts/templates/mercury/page_editor.html +11 -1
  69. data/spec/javascripts/templates/mercury/statusbar.html +1 -0
  70. data/spec/javascripts/templates/mercury/toolbar.html +1 -0
  71. data/{app → vendor}/assets/images/mercury/button.png +0 -0
  72. data/{app → vendor}/assets/images/mercury/clippy.png +0 -0
  73. data/{app → vendor}/assets/images/mercury/default-snippet.png +0 -0
  74. data/{app → vendor}/assets/images/mercury/loading-dark.gif +0 -0
  75. data/{app → vendor}/assets/images/mercury/loading-light.gif +0 -0
  76. data/{app → vendor}/assets/images/mercury/search-icon.png +0 -0
  77. data/vendor/assets/images/mercury/temp-logo.png +0 -0
  78. data/{app → vendor}/assets/images/mercury/toolbar/editable/buttons.png +0 -0
  79. data/{app → vendor}/assets/images/mercury/toolbar/primary/_expander.png +0 -0
  80. data/{app → vendor}/assets/images/mercury/toolbar/primary/_pressed.png +0 -0
  81. data/{app → vendor}/assets/images/mercury/toolbar/primary/historypanel.png +0 -0
  82. data/{app → vendor}/assets/images/mercury/toolbar/primary/insertcharacter.png +0 -0
  83. data/{app → vendor}/assets/images/mercury/toolbar/primary/insertlink.png +0 -0
  84. data/{app → vendor}/assets/images/mercury/toolbar/primary/insertmedia.png +0 -0
  85. data/{app → vendor}/assets/images/mercury/toolbar/primary/inserttable.png +0 -0
  86. data/{app → vendor}/assets/images/mercury/toolbar/primary/inspectorpanel.png +0 -0
  87. data/{app → vendor}/assets/images/mercury/toolbar/primary/notespanel.png +0 -0
  88. data/{app → vendor}/assets/images/mercury/toolbar/primary/preview.png +0 -0
  89. data/{app → vendor}/assets/images/mercury/toolbar/primary/redo.png +0 -0
  90. data/{app → vendor}/assets/images/mercury/toolbar/primary/save.png +0 -0
  91. data/{app/assets/images/mercury/toolbar/primary/objectspanel.png → vendor/assets/images/mercury/toolbar/primary/snippetpanel.png} +0 -0
  92. data/{app → vendor}/assets/images/mercury/toolbar/primary/undo.png +0 -0
  93. data/{app → vendor}/assets/images/mercury/toolbar/snippetable/buttons.png +0 -0
  94. data/vendor/assets/javascripts/mercury.js +302 -0
  95. data/vendor/assets/javascripts/mercury/dialog.js.coffee +157 -0
  96. data/{app → vendor}/assets/javascripts/mercury/dialogs/backcolor.js.coffee +0 -0
  97. data/{app → vendor}/assets/javascripts/mercury/dialogs/forecolor.js.coffee +0 -0
  98. data/{app → vendor}/assets/javascripts/mercury/dialogs/formatblock.js.coffee +0 -0
  99. data/{app → vendor}/assets/javascripts/mercury/dialogs/objectspanel.js.coffee +1 -1
  100. data/{app → vendor}/assets/javascripts/mercury/dialogs/style.js.coffee +0 -0
  101. data/{app → vendor}/assets/javascripts/mercury/history_buffer.js.coffee +0 -0
  102. data/vendor/assets/javascripts/mercury/lightview.js.coffee +156 -0
  103. data/vendor/assets/javascripts/mercury/lightviews/imageprocessor.js.coffee +2 -0
  104. data/vendor/assets/javascripts/mercury/mercury.js.coffee +63 -0
  105. data/{app → vendor}/assets/javascripts/mercury/modal.js.coffee +25 -17
  106. data/{app → vendor}/assets/javascripts/mercury/modals/htmleditor.js.coffee +0 -0
  107. data/{app → vendor}/assets/javascripts/mercury/modals/insertcharacter.js.coffee +0 -0
  108. data/{app → vendor}/assets/javascripts/mercury/modals/insertlink.js.coffee +3 -0
  109. data/{app → vendor}/assets/javascripts/mercury/modals/insertmedia.js.coffee +10 -2
  110. data/{app → vendor}/assets/javascripts/mercury/modals/insertsnippet.js.coffee +0 -0
  111. data/{app → vendor}/assets/javascripts/mercury/modals/inserttable.js.coffee +2 -2
  112. data/{app → vendor}/assets/javascripts/mercury/native_extensions.js.coffee +0 -0
  113. data/{app → vendor}/assets/javascripts/mercury/page_editor.js.coffee +44 -13
  114. data/{app → vendor}/assets/javascripts/mercury/palette.js.coffee +0 -0
  115. data/{app → vendor}/assets/javascripts/mercury/panel.js.coffee +0 -0
  116. data/{app → vendor}/assets/javascripts/mercury/region.js.coffee +0 -0
  117. data/{app → vendor}/assets/javascripts/mercury/regions/editable.js.coffee +58 -12
  118. data/{app → vendor}/assets/javascripts/mercury/regions/markupable.js.coffee +26 -24
  119. data/{app → vendor}/assets/javascripts/mercury/regions/snippetable.js.coffee +0 -0
  120. data/{app → vendor}/assets/javascripts/mercury/select.js.coffee +3 -0
  121. data/{app → vendor}/assets/javascripts/mercury/snippet.js.coffee +9 -5
  122. data/{app → vendor}/assets/javascripts/mercury/snippet_toolbar.js.coffee +0 -0
  123. data/vendor/assets/javascripts/mercury/statusbar.js.coffee +51 -0
  124. data/{app → vendor}/assets/javascripts/mercury/table_editor.js.coffee +9 -8
  125. data/{app → vendor}/assets/javascripts/mercury/toolbar.button.js.coffee +0 -0
  126. data/{app → vendor}/assets/javascripts/mercury/toolbar.button_group.js.coffee +0 -0
  127. data/{app → vendor}/assets/javascripts/mercury/toolbar.expander.js.coffee +0 -0
  128. data/{app → vendor}/assets/javascripts/mercury/toolbar.js.coffee +14 -1
  129. data/{app → vendor}/assets/javascripts/mercury/tooltip.js.coffee +3 -0
  130. data/{app → vendor}/assets/javascripts/mercury/uploader.js.coffee +22 -13
  131. data/vendor/assets/javascripts/{jquery-1.6.js → mercury_dependencies/jquery-1.6.js} +0 -0
  132. data/vendor/assets/javascripts/{jquery-ui-1.8.13.custom.js → mercury_dependencies/jquery-ui-1.8.13.custom.js} +0 -0
  133. data/vendor/assets/javascripts/{jquery.additions.js → mercury_dependencies/jquery.additions.js} +0 -0
  134. data/vendor/assets/javascripts/{liquidmetal.js → mercury_dependencies/liquidmetal.js} +0 -0
  135. data/vendor/assets/javascripts/{showdown.js → mercury_dependencies/showdown.js} +0 -0
  136. data/vendor/assets/javascripts/mercury_loader.js +191 -0
  137. data/{app → vendor}/assets/stylesheets/mercury.css +3 -6
  138. data/vendor/assets/stylesheets/mercury/dialog.css +199 -0
  139. data/vendor/assets/stylesheets/mercury/lightview.css +92 -0
  140. data/vendor/assets/stylesheets/mercury/mercury.css +134 -0
  141. data/vendor/assets/stylesheets/mercury/modal.css +191 -0
  142. data/{app/assets/stylesheets/mercury/statusbar.scss → vendor/assets/stylesheets/mercury/statusbar.css} +9 -1
  143. data/vendor/assets/stylesheets/mercury/toolbar.css +329 -0
  144. data/{app/assets/stylesheets/mercury/tooltip.scss → vendor/assets/stylesheets/mercury/tooltip.css} +7 -7
  145. data/vendor/assets/stylesheets/mercury/uploader.css +111 -0
  146. metadata +230 -225
  147. data/app/assets/images/mercury/toolbar/markupable/buttons.png +0 -0
  148. data/app/assets/images/mercury/toolbar/primary/todospanel.png +0 -0
  149. data/app/assets/javascripts/mercury.js +0 -30
  150. data/app/assets/javascripts/mercury/dialog.js.coffee +0 -75
  151. data/app/assets/javascripts/mercury/mercury.js.coffee +0 -286
  152. data/app/assets/javascripts/mercury/statusbar.js.coffee +0 -29
  153. data/app/assets/javascripts/mercury_loader.js +0 -98
  154. data/app/assets/stylesheets/mercury/dialog.scss +0 -179
  155. data/app/assets/stylesheets/mercury/mercury.scss +0 -127
  156. data/app/assets/stylesheets/mercury/modal.scss +0 -194
  157. data/app/assets/stylesheets/mercury/toolbar.scss +0 -415
  158. data/app/assets/stylesheets/mercury/uploader.scss +0 -109
  159. data/app/views/layouts/mercury.html.haml +0 -8
  160. data/app/views/mercury/modals/character.html.haml +0 -252
  161. data/app/views/mercury/modals/htmleditor.html.haml +0 -8
  162. data/app/views/mercury/modals/link.html.haml +0 -31
  163. data/app/views/mercury/modals/media.html.haml +0 -33
  164. data/app/views/mercury/modals/sanitizer.html.haml +0 -4
  165. data/app/views/mercury/modals/table.html.haml +0 -49
  166. data/app/views/mercury/palettes/backcolor.html.haml +0 -79
  167. data/app/views/mercury/palettes/forecolor.html.haml +0 -79
  168. data/app/views/mercury/panels/history.html.haml +0 -0
  169. data/app/views/mercury/panels/notes.html.haml +0 -0
  170. data/app/views/mercury/panels/snippets.html.haml +0 -10
  171. data/app/views/mercury/selects/formatblock.html.haml +0 -10
  172. data/app/views/mercury/selects/style.html.haml +0 -4
  173. data/app/views/mercury/snippets/example.html.haml +0 -2
  174. data/app/views/mercury/snippets/example_options.html.haml +0 -16
  175. data/log/.gitkeep +0 -0
  176. 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,3 @@
1
+ <div style="width:500px;height:200px">
2
+ adasd
3
+ </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)">&#34;</div>
6
+ <div class="character" data-entity="#38" title="ampersand">&#38;</div>
7
+ <div class="character" data-entity="#60" title="less-than sign">&#60;</div>
8
+ <div class="character" data-entity="#62" title="greater-than sign">&#62;</div>
9
+ <div class="character" data-entity="#710" title="modifier letter circumflex accent">&#710;</div>
10
+ <div class="character" data-entity="#732" title="small tilde">&#732;</div>
11
+ <div class="character" data-entity="#160" title="non-breaking space">&#160;</div>
12
+ <div class="character" data-entity="#8194" title="en space">&#8194;</div>
13
+ <div class="character" data-entity="#8195" title="em space">&#8195;</div>
14
+ <div class="character" data-entity="#8201" title="thin space">&#8201;</div>
15
+ <div class="character" data-entity="#8211" title="en dash">&#8211;</div>
16
+ <div class="character" data-entity="#8212" title="em dash">&#8212;</div>
17
+ <div class="character" data-entity="#8216" title="left single quotation mark">&#8216;</div>
18
+ <div class="character" data-entity="#8217" title="right single quotation mark">&#8217;</div>
19
+ <div class="character" data-entity="#8218" title="single low-9 quotation mark">&#8218;</div>
20
+ <div class="character" data-entity="#8220" title="left double quotation mark">&#8220;</div>
21
+ <div class="character" data-entity="#8221" title="right double quotation mark">&#8221;</div>
22
+ <div class="character" data-entity="#8222" title="double low-9 quotation mark">&#8222;</div>
23
+ <div class="character" data-entity="#8224" title="dagger">&#8224;</div>
24
+ <div class="character" data-entity="#8225" title="double dagger">&#8225;</div>
25
+ <div class="character" data-entity="#8240" title="per mille sign">&#8240;</div>
26
+ <div class="character" data-entity="#8249" title="single left-pointing angle quotation mark">&#8249;</div>
27
+ <div class="character" data-entity="#8250" title="single right-pointing angle quotation mark">&#8250;</div>
28
+ <div class="character" data-entity="#161" title="inverted exclamation mark">&#161;</div>
29
+ <div class="character" data-entity="#162" title="cent sign">&#162;</div>
30
+ <div class="character" data-entity="#163" title="pound sign">&#163;</div>
31
+ <div class="character" data-entity="#164" title="currency sign">&#164;</div>
32
+ <div class="character" data-entity="#165" title="yen sign">&#165;</div>
33
+ <div class="character" data-entity="#166" title="broken bar">&#166;</div>
34
+ <div class="character" data-entity="#167" title="section sign">&#167;</div>
35
+ <div class="character" data-entity="#168" title="spacing diaeresis">&#168;</div>
36
+ <div class="character" data-entity="#169" title="copyright sign">&#169;</div>
37
+ <div class="character" data-entity="#170" title="feminine ordinal indicator">&#170;</div>
38
+ <div class="character" data-entity="#186" title="masculine ordinal indicator">&#186;</div>
39
+ <div class="character" data-entity="#171" title="left pointing guillemet">&#171;</div>
40
+ <div class="character" data-entity="#172" title="not sign">&#172;</div>
41
+ <div class="character" data-entity="#174" title="registered trade mark sign">&#174;</div>
42
+ <div class="character" data-entity="#175" title="spacing macron">&#175;</div>
43
+ <div class="character" data-entity="#176" title="degree sign">&#176;</div>
44
+ <div class="character" data-entity="#177" title="plus-or-minus sign">&#177;</div>
45
+ <div class="character" data-entity="#185" title="superscript one">&#185;</div>
46
+ <div class="character" data-entity="#178" title="superscript digit two">&#178;</div>
47
+ <div class="character" data-entity="#179" title="superscript digit three">&#179;</div>
48
+ <div class="character" data-entity="#180" title="acute accent">&#180;</div>
49
+ <div class="character" data-entity="#181" title="micro sign">&#181;</div>
50
+ <div class="character" data-entity="#182" title="pilcrow sign">&#182;</div>
51
+ <div class="character" data-entity="#183" title="middle dot">&#183;</div>
52
+ <div class="character" data-entity="#184" title="cedilla">&#184;</div>
53
+ <div class="character" data-entity="#187" title="right-pointing double angle quotation mark">&#187;</div>
54
+ <div class="character" data-entity="#188" title="fraction one quarter">&#188;</div>
55
+ <div class="character" data-entity="#189" title="fraction one half">&#189;</div>
56
+ <div class="character" data-entity="#190" title="fraction three quarters">&#190;</div>
57
+ <div class="character" data-entity="#191" title="inverted question mark">&#191;</div>
58
+ <div class="character" data-entity="#215" title="multiplication sign">&#215;</div>
59
+ <div class="character" data-entity="#247" title="division sign">&#247;</div>
60
+ <div class="character" data-entity="#192" title="latin capital letter A with grave">&#192;</div>
61
+ <div class="character" data-entity="#224" title="latin small letter a with grave">&#224;</div>
62
+ <div class="character" data-entity="#193" title="latin capital letter A with acute">&#193;</div>
63
+ <div class="character" data-entity="#225" title="latin small letter a with acute">&#225;</div>
64
+ <div class="character" data-entity="#194" title="latin capital letter A with circumflex">&#194;</div>
65
+ <div class="character" data-entity="#226" title="latin small letter a with circumflex">&#226;</div>
66
+ <div class="character" data-entity="#195" title="latin capital letter A with tilde">&#195;</div>
67
+ <div class="character" data-entity="#227" title="latin small letter a with tilde">&#227;</div>
68
+ <div class="character" data-entity="#196" title="latin capital letter A with diaeresis">&#196;</div>
69
+ <div class="character" data-entity="#228" title="latin small letter a with diaeresis">&#228;</div>
70
+ <div class="character" data-entity="#197" title="latin capital letter A with ring above">&#197;</div>
71
+ <div class="character" data-entity="#229" title="latin small letter a with ring above">&#229;</div>
72
+ <div class="character" data-entity="#200" title="latin capital letter E with grave">&#200;</div>
73
+ <div class="character" data-entity="#232" title="latin small letter e with grave">&#232;</div>
74
+ <div class="character" data-entity="#201" title="latin capital letter E with acute">&#201;</div>
75
+ <div class="character" data-entity="#233" title="latin small letter e with acute">&#233;</div>
76
+ <div class="character" data-entity="#202" title="latin capital letter E with circumflex">&#202;</div>
77
+ <div class="character" data-entity="#234" title="latin small letter e with circumflex">&#234;</div>
78
+ <div class="character" data-entity="#203" title="latin capital letter E with diaeresis">&#203;</div>
79
+ <div class="character" data-entity="#235" title="latin small letter e with diaeresis">&#235;</div>
80
+ <div class="character" data-entity="#204" title="latin capital letter I with grave">&#204;</div>
81
+ <div class="character" data-entity="#236" title="latin small letter i with grave">&#236;</div>
82
+ <div class="character" data-entity="#205" title="latin capital letter I with acute">&#205;</div>
83
+ <div class="character" data-entity="#237" title="latin small letter i with acute">&#237;</div>
84
+ <div class="character" data-entity="#206" title="latin capital letter I with circumflex">&#206;</div>
85
+ <div class="character" data-entity="#238" title="latin small letter i with circumflex">&#238;</div>
86
+ <div class="character" data-entity="#207" title="latin capital letter I with diaeresis">&#207;</div>
87
+ <div class="character" data-entity="#239" title="latin small letter i with diaeresis">&#239;</div>
88
+ <div class="character" data-entity="#210" title="latin capital letter O with grave">&#210;</div>
89
+ <div class="character" data-entity="#242" title="latin small letter o with grave">&#242;</div>
90
+ <div class="character" data-entity="#211" title="latin capital letter O with acute">&#211;</div>
91
+ <div class="character" data-entity="#243" title="latin small letter o with acute">&#243;</div>
92
+ <div class="character" data-entity="#212" title="latin capital letter O with circumflex">&#212;</div>
93
+ <div class="character" data-entity="#244" title="latin small letter o with circumflex">&#244;</div>
94
+ <div class="character" data-entity="#213" title="latin capital letter O with tilde">&#213;</div>
95
+ <div class="character" data-entity="#245" title="latin small letter o with tilde">&#245;</div>
96
+ <div class="character" data-entity="#214" title="latin capital letter O with diaeresis">&#214;</div>
97
+ <div class="character" data-entity="#246" title="latin small letter o with diaeresis">&#246;</div>
98
+ <div class="character" data-entity="#216" title="latin capital letter O with stroke">&#216;</div>
99
+ <div class="character" data-entity="#248" title="latin small letter o with stroke">&#248;</div>
100
+ <div class="character" data-entity="#217" title="latin capital letter U with grave">&#217;</div>
101
+ <div class="character" data-entity="#249" title="latin small letter u with grave">&#249;</div>
102
+ <div class="character" data-entity="#218" title="latin capital letter U with acute">&#218;</div>
103
+ <div class="character" data-entity="#250" title="latin small letter u with acute">&#250;</div>
104
+ <div class="character" data-entity="#219" title="latin capital letter U with circumflex">&#219;</div>
105
+ <div class="character" data-entity="#251" title="latin small letter u with circumflex">&#251;</div>
106
+ <div class="character" data-entity="#220" title="latin capital letter U with diaeresis">&#220;</div>
107
+ <div class="character" data-entity="#252" title="latin small letter u with diaeresis">&#252;</div>
108
+ <div class="character" data-entity="#221" title="latin capital letter Y with acute">&#221;</div>
109
+ <div class="character" data-entity="#253" title="latin small letter y with acute">&#253;</div>
110
+ <div class="character" data-entity="#376" title="latin capital letter Y with diaeresis">&#376;</div>
111
+ <div class="character" data-entity="#255" title="latin small letter y with diaeresis">&#255;</div>
112
+ <div class="character" data-entity="#198" title="latin capital ligature AE">&#198;</div>
113
+ <div class="character" data-entity="#230" title="latin small ligature ae">&#230;</div>
114
+ <div class="character" data-entity="#338" title="latin capital ligature OE">&#338;</div>
115
+ <div class="character" data-entity="#339" title="latin small ligature oe">&#339;</div>
116
+ <div class="character" data-entity="#352" title="latin capital letter S with caron">&#352;</div>
117
+ <div class="character" data-entity="#353" title="latin small letter s with caron">&#353;</div>
118
+ <div class="character" data-entity="#199" title="latin capital letter C with cedilla">&#199;</div>
119
+ <div class="character" data-entity="#231" title="latin small letter c with cedilla">&#231;</div>
120
+ <div class="character" data-entity="#208" title="latin capital letter ETH">&#208;</div>
121
+ <div class="character" data-entity="#240" title="latin small letter eth">&#240;</div>
122
+ <div class="character" data-entity="#209" title="latin capital letter N with tilde">&#209;</div>
123
+ <div class="character" data-entity="#241" title="latin small letter n with tilde">&#241;</div>
124
+ <div class="character" data-entity="#222" title="latin capital letter THORN">&#222;</div>
125
+ <div class="character" data-entity="#254" title="latin small letter thorn">&#254;</div>
126
+ <div class="character" data-entity="#223" title="latin small letter sharp s (ess-zed)">&#223;</div>
127
+ <div class="character" data-entity="#402" title="latin small f with hook (function)">&#402;</div>
128
+ <div class="character" data-entity="#913" title="greek capital letter alpha">&#913;</div>
129
+ <div class="character" data-entity="#914" title="greek capital letter beta">&#914;</div>
130
+ <div class="character" data-entity="#915" title="greek capital letter gamma">&#915;</div>
131
+ <div class="character" data-entity="#916" title="greek capital letter delta">&#916;</div>
132
+ <div class="character" data-entity="#917" title="greek capital letter epsilon">&#917;</div>
133
+ <div class="character" data-entity="#918" title="greek capital letter zeta">&#918;</div>
134
+ <div class="character" data-entity="#919" title="greek capital letter eta">&#919;</div>
135
+ <div class="character" data-entity="#920" title="greek capital letter theta">&#920;</div>
136
+ <div class="character" data-entity="#921" title="greek capital letter iota">&#921;</div>
137
+ <div class="character" data-entity="#922" title="greek capital letter kappa">&#922;</div>
138
+ <div class="character" data-entity="#923" title="greek capital letter lambda">&#923;</div>
139
+ <div class="character" data-entity="#924" title="greek capital letter mu">&#924;</div>
140
+ <div class="character" data-entity="#925" title="greek capital letter nu">&#925;</div>
141
+ <div class="character" data-entity="#926" title="greek capital letter xi">&#926;</div>
142
+ <div class="character" data-entity="#927" title="greek capital letter omicron">&#927;</div>
143
+ <div class="character" data-entity="#928" title="greek capital letter pi">&#928;</div>
144
+ <div class="character" data-entity="#929" title="greek capital letter rho">&#929;</div>
145
+ <div class="character" data-entity="#931" title="greek capital letter sigma">&#931;</div>
146
+ <div class="character" data-entity="#932" title="greek capital letter tau">&#932;</div>
147
+ <div class="character" data-entity="#933" title="greek capital letter upsilon">&#933;</div>
148
+ <div class="character" data-entity="#934" title="greek capital letter phi">&#934;</div>
149
+ <div class="character" data-entity="#935" title="greek capital letter chi">&#935;</div>
150
+ <div class="character" data-entity="#936" title="greek capital letter psi">&#936;</div>
151
+ <div class="character" data-entity="#937" title="greek capital letter omega">&#937;</div>
152
+ <div class="character" data-entity="#945" title="greek small letter alpha">&#945;</div>
153
+ <div class="character" data-entity="#946" title="greek small letter beta">&#946;</div>
154
+ <div class="character" data-entity="#947" title="greek small letter gamma">&#947;</div>
155
+ <div class="character" data-entity="#948" title="greek small letter delta">&#948;</div>
156
+ <div class="character" data-entity="#949" title="greek small letter epsilon">&#949;</div>
157
+ <div class="character" data-entity="#950" title="greek small letter zeta">&#950;</div>
158
+ <div class="character" data-entity="#951" title="greek small letter eta">&#951;</div>
159
+ <div class="character" data-entity="#952" title="greek small letter theta">&#952;</div>
160
+ <div class="character" data-entity="#953" title="greek small letter iota">&#953;</div>
161
+ <div class="character" data-entity="#954" title="greek small letter kappa">&#954;</div>
162
+ <div class="character" data-entity="#955" title="greek small letter lambda">&#955;</div>
163
+ <div class="character" data-entity="#956" title="greek small letter mu">&#956;</div>
164
+ <div class="character" data-entity="#957" title="greek small letter nu">&#957;</div>
165
+ <div class="character" data-entity="#958" title="greek small letter xi">&#958;</div>
166
+ <div class="character" data-entity="#959" title="greek small letter omicron">&#959;</div>
167
+ <div class="character" data-entity="#960" title="greek small letter pi">&#960;</div>
168
+ <div class="character" data-entity="#961" title="greek small letter rho">&#961;</div>
169
+ <div class="character" data-entity="#962" title="greek small letter final sigma">&#962;</div>
170
+ <div class="character" data-entity="#963" title="greek small letter sigma">&#963;</div>
171
+ <div class="character" data-entity="#964" title="greek small letter tau">&#964;</div>
172
+ <div class="character" data-entity="#965" title="greek small letter upsilon">&#965;</div>
173
+ <div class="character" data-entity="#966" title="greek small letter phi">&#966;</div>
174
+ <div class="character" data-entity="#967" title="greek small letter chi">&#967;</div>
175
+ <div class="character" data-entity="#968" title="greek small letter psi">&#968;</div>
176
+ <div class="character" data-entity="#969" title="greek small letter omega">&#969;</div>
177
+ <div class="character" data-entity="#977" title="greek small letter theta symbol">&#977;</div>
178
+ <div class="character" data-entity="#978" title="greek upsilon with hook symbol">&#978;</div>
179
+ <div class="character" data-entity="#982" title="greek pi symbol">&#982;</div>
180
+ <div class="character" data-entity="#8226" title="bullet (black small circle)">&#8226;</div>
181
+ <div class="character" data-entity="#8230" title="horizontal ellipsis">&#8230;</div>
182
+ <div class="character" data-entity="#8242" title="prime (minutes/feet)">&#8242;</div>
183
+ <div class="character" data-entity="#8243" title="double prime (seconds/inches)">&#8243;</div>
184
+ <div class="character" data-entity="#8254" title="overline">&#8254;</div>
185
+ <div class="character" data-entity="#8260" title="fraction slash">&#8260;</div>
186
+ <div class="character" data-entity="#8472" title="Weierstrass p">&#8472;</div>
187
+ <div class="character" data-entity="#8465" title="imaginary part">&#8465;</div>
188
+ <div class="character" data-entity="#8476" title="real part symbol">&#8476;</div>
189
+ <div class="character" data-entity="#8482" title="trade mark sign">&#8482;</div>
190
+ <div class="character" data-entity="#8501" title="first transfinite cardinal">&#8501;</div>
191
+ <div class="character" data-entity="#8592" title="leftwards arrow">&#8592;</div>
192
+ <div class="character" data-entity="#8593" title="upwards arrow">&#8593;</div>
193
+ <div class="character" data-entity="#8594" title="rightwards arrow">&#8594;</div>
194
+ <div class="character" data-entity="#8595" title="downwards arrow">&#8595;</div>
195
+ <div class="character" data-entity="#8596" title="left right arrow">&#8596;</div>
196
+ <div class="character" data-entity="#8629" title="downwards arrow with corner leftwards">&#8629;</div>
197
+ <div class="character" data-entity="#8656" title="leftwards double arrow">&#8656;</div>
198
+ <div class="character" data-entity="#8657" title="upwards double arrow">&#8657;</div>
199
+ <div class="character" data-entity="#8658" title="rightwards double arrow">&#8658;</div>
200
+ <div class="character" data-entity="#8659" title="downwards double arrow">&#8659;</div>
201
+ <div class="character" data-entity="#8660" title="left right double arrow">&#8660;</div>
202
+ <div class="character" data-entity="#8704" title="for all">&#8704;</div>
203
+ <div class="character" data-entity="#8706" title="partial differential">&#8706;</div>
204
+ <div class="character" data-entity="#8707" title="there exists">&#8707;</div>
205
+ <div class="character" data-entity="#8709" title="empty set (null set/diameter)">&#8709;</div>
206
+ <div class="character" data-entity="#8711" title="nabla (backward difference)">&#8711;</div>
207
+ <div class="character" data-entity="#8712" title="element of">&#8712;</div>
208
+ <div class="character" data-entity="#8713" title="not an element of">&#8713;</div>
209
+ <div class="character" data-entity="#8715" title="contains as member">&#8715;</div>
210
+ <div class="character" data-entity="#8719" title="n-ary product (product sign)">&#8719;</div>
211
+ <div class="character" data-entity="#8721" title="n-ary sumation">&#8721;</div>
212
+ <div class="character" data-entity="#8722" title="minus sign">&#8722;</div>
213
+ <div class="character" data-entity="#8727" title="asterisk operator">&#8727;</div>
214
+ <div class="character" data-entity="#8730" title="square root (radical sign)">&#8730;</div>
215
+ <div class="character" data-entity="#8733" title="proportional to">&#8733;</div>
216
+ <div class="character" data-entity="#8734" title="infinity">&#8734;</div>
217
+ <div class="character" data-entity="#8736" title="angle">&#8736;</div>
218
+ <div class="character" data-entity="#8743" title="logical and (wedge)">&#8743;</div>
219
+ <div class="character" data-entity="#8744" title="logical or (vee)">&#8744;</div>
220
+ <div class="character" data-entity="#8745" title="intersection (cap)">&#8745;</div>
221
+ <div class="character" data-entity="#8746" title="union (cup)">&#8746;</div>
222
+ <div class="character" data-entity="#8747" title="integral">&#8747;</div>
223
+ <div class="character" data-entity="#8756" title="therefore">&#8756;</div>
224
+ <div class="character" data-entity="#8764" title="tilde operator (varies with/similar to)">&#8764;</div>
225
+ <div class="character" data-entity="#8773" title="approximately equal to">&#8773;</div>
226
+ <div class="character" data-entity="#8776" title="almost equal to (asymptotic to)">&#8776;</div>
227
+ <div class="character" data-entity="#8800" title="not equal to">&#8800;</div>
228
+ <div class="character" data-entity="#8801" title="identical to">&#8801;</div>
229
+ <div class="character" data-entity="#8804" title="less-than or equal to">&#8804;</div>
230
+ <div class="character" data-entity="#8805" title="greater-than or equal to">&#8805;</div>
231
+ <div class="character" data-entity="#8834" title="subset of">&#8834;</div>
232
+ <div class="character" data-entity="#8835" title="superset of">&#8835;</div>
233
+ <div class="character" data-entity="#8836" title="not a subset of">&#8836;</div>
234
+ <div class="character" data-entity="#8838" title="subset of or equal to">&#8838;</div>
235
+ <div class="character" data-entity="#8839" title="superset of or equal to">&#8839;</div>
236
+ <div class="character" data-entity="#8853" title="circled plus (direct sum)">&#8853;</div>
237
+ <div class="character" data-entity="#8855" title="circled times (vector product)">&#8855;</div>
238
+ <div class="character" data-entity="#8869" title="up tack (orthogonal to/perpendicular)">&#8869;</div>
239
+ <div class="character" data-entity="#8901" title="dot operator">&#8901;</div>
240
+ <div class="character" data-entity="#8968" title="left ceiling (apl upstile)">&#8968;</div>
241
+ <div class="character" data-entity="#8969" title="right ceiling">&#8969;</div>
242
+ <div class="character" data-entity="#8970" title="left floor (apl downstile)">&#8970;</div>
243
+ <div class="character" data-entity="#8971" title="right floor">&#8971;</div>
244
+ <div class="character" data-entity="#9001" title="left-pointing angle bracket (bra)">&#9001;</div>
245
+ <div class="character" data-entity="#9002" title="right-pointing angle bracket (ket)">&#9002;</div>
246
+ <div class="character" data-entity="#9674" title="lozenge">&#9674;</div>
247
+ <div class="character" data-entity="#9824" title="black spade suit">&#9824;</div>
248
+ <div class="character" data-entity="#9827" title="black club suit (shamrock)">&#9827;</div>
249
+ <div class="character" data-entity="#9829" title="black heart suit (valentine)">&#9829;</div>
250
+ <div class="character" data-entity="#9830" title="black diamond suit">&#9830;</div>
251
+ <div class="character" data-entity="#x2603" title="snowman">&#x2603;</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>