dante-editor-seo 0.0.13

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +40 -0
  3. data/.ruby-version +1 -0
  4. data/.travis.yml +4 -0
  5. data/Gemfile +23 -0
  6. data/Gemfile.lock +140 -0
  7. data/Procfile +1 -0
  8. data/README.md +187 -0
  9. data/ROADMAP.md +10 -0
  10. data/TODO.md +30 -0
  11. data/app/assets/fonts/dante/dante.eot +0 -0
  12. data/app/assets/fonts/dante/dante.svg +14 -0
  13. data/app/assets/fonts/dante/dante.ttf +0 -0
  14. data/app/assets/fonts/dante/dante.woff +0 -0
  15. data/app/assets/fonts/dante/fontello.eot +0 -0
  16. data/app/assets/fonts/dante/fontello.svg +36 -0
  17. data/app/assets/fonts/dante/fontello.ttf +0 -0
  18. data/app/assets/fonts/dante/fontello.woff +0 -0
  19. data/app/assets/images/dante/media-loading-placeholder.png +0 -0
  20. data/app/assets/javascripts/dante/dante.js.coffee.erb +10 -0
  21. data/app/assets/javascripts/dante/editor.js.coffee +1250 -0
  22. data/app/assets/javascripts/dante/menu.js.coffee +216 -0
  23. data/app/assets/javascripts/dante/popover.js.coffee +75 -0
  24. data/app/assets/javascripts/dante/tooltip.js.coffee +82 -0
  25. data/app/assets/javascripts/dante/tooltip_widget.js.coffee +10 -0
  26. data/app/assets/javascripts/dante/tooltip_widgets/embed.js.coffee +60 -0
  27. data/app/assets/javascripts/dante/tooltip_widgets/extract.js.coffee +64 -0
  28. data/app/assets/javascripts/dante/tooltip_widgets/uploader.js.coffee +248 -0
  29. data/app/assets/javascripts/dante/utils.js.coffee +235 -0
  30. data/app/assets/javascripts/dante/view.js.coffee +101 -0
  31. data/app/assets/javascripts/dante.js +12 -0
  32. data/app/assets/stylesheets/dante/_animations.scss +54 -0
  33. data/app/assets/stylesheets/dante/_caption.scss +52 -0
  34. data/app/assets/stylesheets/dante/_debug.scss +11 -0
  35. data/app/assets/stylesheets/dante/_fonts.scss +17 -0
  36. data/app/assets/stylesheets/dante/_graf.scss +238 -0
  37. data/app/assets/stylesheets/dante/_icons.scss +57 -0
  38. data/app/assets/stylesheets/dante/_media.scss +39 -0
  39. data/app/assets/stylesheets/dante/_menu.scss +153 -0
  40. data/app/assets/stylesheets/dante/_needsorder.scss +209 -0
  41. data/app/assets/stylesheets/dante/_popover.scss +134 -0
  42. data/app/assets/stylesheets/dante/_post.scss +69 -0
  43. data/app/assets/stylesheets/dante/_scaffold.scss +20 -0
  44. data/app/assets/stylesheets/dante/_tooltip.scss +131 -0
  45. data/app/assets/stylesheets/dante/_utilities.scss +55 -0
  46. data/app/assets/stylesheets/dante/_variables.scss +46 -0
  47. data/app/assets/stylesheets/dante.scss +18 -0
  48. data/bower.json +44 -0
  49. data/config.rb +86 -0
  50. data/config.ru +42 -0
  51. data/dante-editor.gemspec +19 -0
  52. data/dist/css/dante-editor.css +1116 -0
  53. data/dist/fonts/dante/dante.eot +0 -0
  54. data/dist/fonts/dante/dante.svg +14 -0
  55. data/dist/fonts/dante/dante.ttf +0 -0
  56. data/dist/fonts/dante/dante.woff +0 -0
  57. data/dist/fonts/dante/fontello.eot +0 -0
  58. data/dist/fonts/dante/fontello.svg +36 -0
  59. data/dist/fonts/dante/fontello.ttf +0 -0
  60. data/dist/fonts/dante/fontello.woff +0 -0
  61. data/dist/images/dante/media-loading-placeholder.png +0 -0
  62. data/dist/js/dante-editor.js +2878 -0
  63. data/lib/dante-editor/rails.rb +4 -0
  64. data/lib/dante-editor/version.rb +5 -0
  65. data/lib/dante-editor.rb +5 -0
  66. data/license.md +22 -0
  67. data/rakefile +2 -0
  68. data/source/assets/images/dante-editor-logo.png +0 -0
  69. data/source/assets/images/github-logo.png +0 -0
  70. data/source/assets/javascripts/all.js +3 -0
  71. data/source/assets/javascripts/dante-editor.js +1 -0
  72. data/source/assets/javascripts/deps.js +4 -0
  73. data/source/assets/javascripts/examples/custom_toolbar.js.coffee +30 -0
  74. data/source/assets/javascripts/spec.js +2 -0
  75. data/source/assets/javascripts/specs/cleaner.js.coffee +8 -0
  76. data/source/assets/javascripts/specs/dante_view.js.coffee +74 -0
  77. data/source/assets/javascripts/specs/editor.js.coffee +78 -0
  78. data/source/assets/stylesheets/_layout.scss +51 -0
  79. data/source/assets/stylesheets/_scaffold.scss +8 -0
  80. data/source/assets/stylesheets/_tooltips.scss +216 -0
  81. data/source/assets/stylesheets/all.css.scss +5 -0
  82. data/source/assets/stylesheets/dante-editor.css.scss +1 -0
  83. data/source/assets/stylesheets/normalize.css +375 -0
  84. data/source/custom_toolbar.erb +29 -0
  85. data/source/embeds.html.erb +27 -0
  86. data/source/icons/dante.json +143 -0
  87. data/source/icons/embed.svg +13 -0
  88. data/source/icons/image.svg +13 -0
  89. data/source/icons/plus.svg +13 -0
  90. data/source/icons/video.svg +13 -0
  91. data/source/index.html.erb +18 -0
  92. data/source/layouts/layout.erb +26 -0
  93. data/source/layouts/spec.html.erb +22 -0
  94. data/source/lists.html.erb +18 -0
  95. data/source/partials/_content.erb +6 -0
  96. data/source/partials/_example_1.erb +45 -0
  97. data/source/partials/_example_2.erb +32 -0
  98. data/source/partials/_example_3.erb +4 -0
  99. data/source/partials/_lists.erb +13 -0
  100. data/source/partials/_readme.markdown +24 -0
  101. data/source/partials/test/_example_1.erb +39 -0
  102. data/source/tests/dante_view.html.erb +11 -0
  103. data/source/tests/index.html.erb +39 -0
  104. data/tmp/.gitkeep +0 -0
  105. metadata +151 -0
@@ -0,0 +1,375 @@
1
+ /*! normalize.css v2.0.1 | MIT License | git.io/normalize */
2
+
3
+ /* ==========================================================================
4
+ HTML5 display definitions
5
+ ========================================================================== */
6
+
7
+ /*
8
+ * Corrects `block` display not defined in IE 8/9.
9
+ */
10
+
11
+ article,
12
+ aside,
13
+ details,
14
+ figcaption,
15
+ figure,
16
+ footer,
17
+ header,
18
+ hgroup,
19
+ nav,
20
+ section,
21
+ summary {
22
+ display: block;
23
+ }
24
+
25
+ /*
26
+ * Corrects `inline-block` display not defined in IE 8/9.
27
+ */
28
+
29
+ audio,
30
+ canvas,
31
+ video {
32
+ display: inline-block;
33
+ }
34
+
35
+ /*
36
+ * Prevents modern browsers from displaying `audio` without controls.
37
+ * Remove excess height in iOS 5 devices.
38
+ */
39
+
40
+ audio:not([controls]) {
41
+ display: none;
42
+ height: 0;
43
+ }
44
+
45
+ /*
46
+ * Addresses styling for `hidden` attribute not present in IE 8/9.
47
+ */
48
+
49
+ [hidden] {
50
+ display: none;
51
+ }
52
+
53
+ /* ==========================================================================
54
+ Base
55
+ ========================================================================== */
56
+
57
+ /*
58
+ * 1. Sets default font family to sans-serif.
59
+ * 2. Prevents iOS text size adjust after orientation change, without disabling
60
+ * user zoom.
61
+ */
62
+
63
+ html {
64
+ font-family: sans-serif; /* 1 */
65
+ -webkit-text-size-adjust: 100%; /* 2 */
66
+ -ms-text-size-adjust: 100%; /* 2 */
67
+ }
68
+
69
+ /*
70
+ * Removes default margin.
71
+ */
72
+
73
+ body {
74
+ margin: 0;
75
+ }
76
+
77
+ /* ==========================================================================
78
+ Links
79
+ ========================================================================== */
80
+
81
+ /*
82
+ * Addresses `outline` inconsistency between Chrome and other browsers.
83
+ */
84
+
85
+ a:focus {
86
+ outline: thin dotted;
87
+ }
88
+
89
+ /*
90
+ * Improves readability when focused and also mouse hovered in all browsers.
91
+ */
92
+
93
+ a:active,
94
+ a:hover {
95
+ outline: 0;
96
+ }
97
+
98
+ /* ==========================================================================
99
+ Typography
100
+ ========================================================================== */
101
+
102
+ /*
103
+ * Addresses `h1` font sizes within `section` and `article` in Firefox 4+,
104
+ * Safari 5, and Chrome.
105
+ */
106
+
107
+ h1 {
108
+ font-size: 2em;
109
+ }
110
+
111
+ /*
112
+ * Addresses styling not present in IE 8/9, Safari 5, and Chrome.
113
+ */
114
+
115
+ abbr[title] {
116
+ border-bottom: 1px dotted;
117
+ }
118
+
119
+ /*
120
+ * Addresses style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
121
+ */
122
+
123
+ b,
124
+ strong {
125
+ font-weight: bold;
126
+ }
127
+
128
+ /*
129
+ * Addresses styling not present in Safari 5 and Chrome.
130
+ */
131
+
132
+ dfn {
133
+ font-style: italic;
134
+ }
135
+
136
+ /*
137
+ * Addresses styling not present in IE 8/9.
138
+ */
139
+
140
+ mark {
141
+ background: #ff0;
142
+ color: #000;
143
+ }
144
+
145
+
146
+ /*
147
+ * Corrects font family set oddly in Safari 5 and Chrome.
148
+ */
149
+
150
+ code,
151
+ kbd,
152
+ pre,
153
+ samp {
154
+ font-family: monospace, serif;
155
+ font-size: 1em;
156
+ }
157
+
158
+ /*
159
+ * Improves readability of pre-formatted text in all browsers.
160
+ */
161
+
162
+ pre {
163
+ white-space: pre;
164
+ white-space: pre-wrap;
165
+ word-wrap: break-word;
166
+ }
167
+
168
+ /*
169
+ * Sets consistent quote types.
170
+ */
171
+
172
+ q {
173
+ quotes: "\201C" "\201D" "\2018" "\2019";
174
+ }
175
+
176
+ /*
177
+ * Addresses inconsistent and variable font size in all browsers.
178
+ */
179
+
180
+ small {
181
+ font-size: 80%;
182
+ }
183
+
184
+ /*
185
+ * Prevents `sub` and `sup` affecting `line-height` in all browsers.
186
+ */
187
+
188
+ sub,
189
+ sup {
190
+ font-size: 75%;
191
+ line-height: 0;
192
+ position: relative;
193
+ vertical-align: baseline;
194
+ }
195
+
196
+ sup {
197
+ top: -0.5em;
198
+ }
199
+
200
+ sub {
201
+ bottom: -0.25em;
202
+ }
203
+
204
+ /* ==========================================================================
205
+ Embedded content
206
+ ========================================================================== */
207
+
208
+ /*
209
+ * Removes border when inside `a` element in IE 8/9.
210
+ */
211
+
212
+ img {
213
+ border: 0;
214
+ }
215
+
216
+ /*
217
+ * Corrects overflow displayed oddly in IE 9.
218
+ */
219
+
220
+ svg:not(:root) {
221
+ overflow: hidden;
222
+ }
223
+
224
+ /* ==========================================================================
225
+ Figures
226
+ ========================================================================== */
227
+
228
+ /*
229
+ * Addresses margin not present in IE 8/9 and Safari 5.
230
+ */
231
+
232
+ figure {
233
+ margin: 0;
234
+ }
235
+
236
+ /* ==========================================================================
237
+ Forms
238
+ ========================================================================== */
239
+
240
+ /*
241
+ * Define consistent border, margin, and padding.
242
+ */
243
+
244
+ fieldset {
245
+ border: 1px solid #c0c0c0;
246
+ margin: 0 2px;
247
+ padding: 0.35em 0.625em 0.75em;
248
+ }
249
+
250
+ /*
251
+ * 1. Corrects color not being inherited in IE 8/9.
252
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
253
+ */
254
+
255
+ legend {
256
+ border: 0; /* 1 */
257
+ padding: 0; /* 2 */
258
+ }
259
+
260
+ /*
261
+ * 1. Corrects font family not being inherited in all browsers.
262
+ * 2. Corrects font size not being inherited in all browsers.
263
+ * 3. Addresses margins set differently in Firefox 4+, Safari 5, and Chrome
264
+ */
265
+
266
+ button,
267
+ input,
268
+ select,
269
+ textarea {
270
+ font-family: inherit; /* 1 */
271
+ font-size: 100%; /* 2 */
272
+ margin: 0; /* 3 */
273
+ }
274
+
275
+ /*
276
+ * Addresses Firefox 4+ setting `line-height` on `input` using `!important` in
277
+ * the UA stylesheet.
278
+ */
279
+
280
+ button,
281
+ input {
282
+ line-height: normal;
283
+ }
284
+
285
+ /*
286
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
287
+ * and `video` controls.
288
+ * 2. Corrects inability to style clickable `input` types in iOS.
289
+ * 3. Improves usability and consistency of cursor style between image-type
290
+ * `input` and others.
291
+ */
292
+
293
+ button,
294
+ html input[type="button"], /* 1 */
295
+ input[type="reset"],
296
+ input[type="submit"] {
297
+ -webkit-appearance: button; /* 2 */
298
+ cursor: pointer; /* 3 */
299
+ }
300
+
301
+ /*
302
+ * Re-set default cursor for disabled elements.
303
+ */
304
+
305
+ button[disabled],
306
+ input[disabled] {
307
+ cursor: default;
308
+ }
309
+
310
+ /*
311
+ * 1. Addresses box sizing set to `content-box` in IE 8/9.
312
+ * 2. Removes excess padding in IE 8/9.
313
+ */
314
+
315
+ input[type="checkbox"],
316
+ input[type="radio"] {
317
+ box-sizing: border-box; /* 1 */
318
+ padding: 0; /* 2 */
319
+ }
320
+
321
+ /*
322
+ * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
323
+ * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
324
+ * (include `-moz` to future-proof).
325
+ */
326
+
327
+ input[type="search"] {
328
+ -webkit-appearance: textfield; /* 1 */
329
+ -moz-box-sizing: content-box;
330
+ -webkit-box-sizing: content-box; /* 2 */
331
+ box-sizing: content-box;
332
+ }
333
+
334
+ /*
335
+ * Removes inner padding and search cancel button in Safari 5 and Chrome
336
+ * on OS X.
337
+ */
338
+
339
+ input[type="search"]::-webkit-search-cancel-button,
340
+ input[type="search"]::-webkit-search-decoration {
341
+ -webkit-appearance: none;
342
+ }
343
+
344
+ /*
345
+ * Removes inner padding and border in Firefox 4+.
346
+ */
347
+
348
+ button::-moz-focus-inner,
349
+ input::-moz-focus-inner {
350
+ border: 0;
351
+ padding: 0;
352
+ }
353
+
354
+ /*
355
+ * 1. Removes default vertical scrollbar in IE 8/9.
356
+ * 2. Improves readability and alignment in all browsers.
357
+ */
358
+
359
+ textarea {
360
+ overflow: auto; /* 1 */
361
+ vertical-align: top; /* 2 */
362
+ }
363
+
364
+ /* ==========================================================================
365
+ Tables
366
+ ========================================================================== */
367
+
368
+ /*
369
+ * Remove most spacing between table cells.
370
+ */
371
+
372
+ table {
373
+ border-collapse: collapse;
374
+ border-spacing: 0;
375
+ }
@@ -0,0 +1,29 @@
1
+ ---
2
+ title: Dante Editor example
3
+ ---
4
+
5
+ <div id="editor">
6
+ This is a custom toolbar example
7
+ </div>
8
+
9
+ <%= javascript_include_tag "examples/custom_toolbar" %>
10
+
11
+ <script>
12
+
13
+ </script>
14
+
15
+ <script type="text/javascript">
16
+ var btn1 = new window.MyCustomCoffeeTooltip
17
+ var btn2 = new window.MyCustomTooltip
18
+
19
+ editor = new Dante.Editor(
20
+ {
21
+ el: "#editor",
22
+ upload_url: "/uploads/new.json",
23
+ debug: <%= build? ? false : true %>,
24
+ base_widgets: ["uploader"],
25
+ extra_tooltip_widgets: [btn1, btn2]
26
+ }
27
+ )
28
+ editor.start()
29
+ </script>
@@ -0,0 +1,27 @@
1
+ ---
2
+ title: Dante Editor EMBEDS example
3
+ ---
4
+
5
+ <article>
6
+ <div class="postContent">
7
+ <div class="notesSource">
8
+
9
+ <div id="editor" class="postField postField--body editable smart-media-plugin">
10
+ <%= partial "partials/content" %>
11
+ <%= partial "partials/example_1" %>
12
+ <%= partial "partials/example_2" %>
13
+ </div>
14
+
15
+ </div>
16
+ </div>
17
+ </article>
18
+
19
+ <script type="text/javascript">
20
+ editor = new Dante.Editor(
21
+ {
22
+ el: "#editor",
23
+ upload_url: "/uploads/new.json",
24
+ debug: true
25
+ }
26
+ ).start()
27
+ </script>
@@ -0,0 +1,143 @@
1
+ {
2
+ "selection": [
3
+ {
4
+ "order": 4,
5
+ "id": 3,
6
+ "name": "video",
7
+ "prevSize": 16,
8
+ "code": 58880,
9
+ "tempChar": ""
10
+ },
11
+ {
12
+ "order": 3,
13
+ "id": 2,
14
+ "name": "image",
15
+ "prevSize": 16,
16
+ "code": 58881,
17
+ "tempChar": ""
18
+ },
19
+ {
20
+ "order": 2,
21
+ "id": 1,
22
+ "name": "plus",
23
+ "prevSize": 16,
24
+ "code": 58882,
25
+ "tempChar": ""
26
+ },
27
+ {
28
+ "order": 1,
29
+ "id": 0,
30
+ "name": "embed",
31
+ "prevSize": 16,
32
+ "code": 58883,
33
+ "tempChar": ""
34
+ }
35
+ ],
36
+ "metadata": {
37
+ "name": "Untitled Set",
38
+ "importSize": 16,
39
+ "iconsHash": -548828287
40
+ },
41
+ "height": 1024,
42
+ "prevSize": 16,
43
+ "icons": [
44
+ {
45
+ "paths": [
46
+ "M256 200.441v623.174c0 70.118 47.316 95.291 105.683 55.222l428.634-294.258c58.622-40.244 58.367-105.034 0-145.103l-428.634-294.258c-58.622-40.244-105.683-15.345-105.683 55.222zM320 193.336l426.195 293.488c30.527 20.25 29.832 31 0 51.070l-426.195 295.039v-639.598z"
47
+ ],
48
+ "attrs": [
49
+ {
50
+ "visibility": false
51
+ }
52
+ ],
53
+ "grid": 16,
54
+ "tags": [
55
+ "video"
56
+ ],
57
+ "defaultCode": 58880
58
+ },
59
+ {
60
+ "paths": [
61
+ "M294.4 192l0.489-2.446c13.868-69.342 82.599-125.554 152.977-125.554h128.267c70.619 0 139.014 55.74 152.977 125.554l0.489 2.446h166.78c70.483 0 127.62 57.611 127.62 127.489v449.022c0 70.41-57.249 127.489-127.62 127.489h-768.76c-70.483 0-127.62-57.611-127.62-127.489v-449.022c0-70.41 57.249-127.489 127.62-127.489h166.78zM347.123 256h-218.685c-35.641 0-64.438 28.583-64.438 63.843v448.314c0 35.279 28.85 63.843 64.438 63.843h767.124c35.641 0 64.438-28.583 64.438-63.843v-448.314c0-35.279-28.85-63.843-64.438-63.843h-218.816l-13.864-65.375c-7.263-34.25-41.874-62.625-77.145-62.625h-147.627c-35.433 0-69.805 28.038-77.134 62.625l-13.853 65.375zM320 512c0 105.823 85.961 192 192 192 105.823 0 192-85.961 192-192 0-105.823-85.961-192-192-192-105.823 0-192 85.961-192 192zM384 512c0-70.692 56.815-128 128-128 70.692 0 128 56.815 128 128 0 70.692-56.815 128-128 128-70.692 0-128-56.815-128-128z"
62
+ ],
63
+ "attrs": [
64
+ {
65
+ "visibility": false
66
+ }
67
+ ],
68
+ "grid": 16,
69
+ "tags": [
70
+ "image"
71
+ ],
72
+ "defaultCode": 58881
73
+ },
74
+ {
75
+ "paths": [
76
+ "M544 544v375.294c0 17.673-14.327 32-32 32s-32-14.327-32-32v-375.294h-375.294c-17.673 0-32-14.327-32-32s14.327-32 32-32h375.294v-375.294c0-17.673 14.327-32 32-32s32 14.327 32 32v375.294h375.294c17.673 0 32 14.327 32 32s-14.327 32-32 32h-375.294z"
77
+ ],
78
+ "attrs": [
79
+ {
80
+ "visibility": false
81
+ }
82
+ ],
83
+ "grid": 16,
84
+ "tags": [
85
+ "plus"
86
+ ],
87
+ "defaultCode": 58882
88
+ },
89
+ {
90
+ "paths": [
91
+ "M882.24 510.502l-235.855-234.241c-12.497-12.411-12.497-32.534 0-44.945s32.758-12.411 45.255 0l253.704 251.968c1.872 1.201 3.645 2.616 5.284 4.244 12.497 12.411 12.497 32.534 0 44.945l-257.992 256.226c-12.497 12.411-32.758 12.411-45.255 0s-12.497-32.534 0-44.945l234.859-233.252zM67.842 498.771c-6.562 12.128-4.719 27.599 5.53 37.848 2.863 2.863 6.133 5.070 9.624 6.621l249.364 249.364c12.497 12.497 32.758 12.497 45.255 0s12.497-32.758 0-45.255l-234.859-234.859 233.863-233.863c12.497-12.497 12.497-32.758 0-45.255s-32.758-12.497-45.255 0l-251.712 251.712c-1.872 1.209-3.645 2.634-5.284 4.273-2.805 2.805-4.981 6.002-6.527 9.414v0 0z"
92
+ ],
93
+ "attrs": [
94
+ {
95
+ "visibility": false
96
+ }
97
+ ],
98
+ "grid": 16,
99
+ "tags": [
100
+ "embed"
101
+ ],
102
+ "defaultCode": 58883
103
+ }
104
+ ],
105
+ "preferences": {
106
+ "fontPref": {
107
+ "prefix": "icon-",
108
+ "metadata": {
109
+ "fontFamily": "icomoon"
110
+ },
111
+ "showGlyphs": true,
112
+ "metrics": {
113
+ "emSize": 1024,
114
+ "baseline": 6.25,
115
+ "whitespace": 50
116
+ },
117
+ "resetPoint": 58880,
118
+ "showQuickUse": true,
119
+ "quickUsageToken": false,
120
+ "showMetrics": true,
121
+ "showMetadata": false
122
+ },
123
+ "imagePref": {
124
+ "color": 0,
125
+ "height": 32,
126
+ "columns": 16,
127
+ "margin": 16,
128
+ "png": false,
129
+ "sprites": true
130
+ },
131
+ "historySize": 100,
132
+ "showCodes": true,
133
+ "gridSize": 16,
134
+ "showLiga": false,
135
+ "showGrid": true,
136
+ "showGlyphs": true,
137
+ "showQuickUse": true,
138
+ "showQuickUse2": true,
139
+ "showSVGs": true,
140
+ "search": ""
141
+ },
142
+ "IcoMoonType": "icon-set"
143
+ }
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.2 (9961) - http://www.bohemiancoding.com/sketch -->
4
+ <title>code</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Group" sketch:type="MSLayerGroup" transform="translate(-144.000000, -8.000000)">
9
+ <rect id="Rectangle-24" stroke="#979797" sketch:type="MSShapeGroup" x="136" y="0" width="32" height="32" rx="40"></rect>
10
+ <path d="M157.784994,15.9766001 L154.099753,12.3165824 C153.904491,12.1226567 153.904491,11.8082411 154.099753,11.6143154 C154.295015,11.4203897 154.611598,11.4203897 154.80686,11.6143154 L158.77099,15.5513125 C158.800234,15.5700781 158.827937,15.5921813 158.853553,15.6176219 C159.048816,15.8115476 159.048816,16.1259632 158.853553,16.3198889 L154.822425,20.3234269 C154.627162,20.5173525 154.31058,20.5173525 154.115318,20.3234269 C153.920056,20.1295012 153.920056,19.8150855 154.115318,19.6211598 L157.784994,15.9766001 L157.784994,15.9766001 Z M145.060034,15.7933034 C144.957502,15.9827992 144.986306,16.2245417 145.146447,16.3846823 C145.191179,16.4294143 145.242278,16.4638988 145.296826,16.4881358 L149.19314,20.3844492 C149.388402,20.5797114 149.704985,20.5797114 149.900247,20.3844492 C150.095509,20.1891871 150.095509,19.8726046 149.900247,19.6773425 L146.23057,16.0076657 L149.884682,12.3535534 C150.079944,12.1582912 150.079944,11.8417088 149.884682,11.6464466 C149.68942,11.4511845 149.372838,11.4511845 149.177575,11.6464466 L145.244575,15.5794472 C145.215331,15.5983422 145.187627,15.6205976 145.162011,15.6462136 C145.11818,15.6900451 145.084187,15.7399899 145.060034,15.7933034 L145.060034,15.7933034 L145.060034,15.7933034 Z" id="Line" fill="#000000" sketch:type="MSShapeGroup"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.2 (9961) - http://www.bohemiancoding.com/sketch -->
4
+ <title>camera</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Group" sketch:type="MSLayerGroup" transform="translate(-62.000000, -8.000000)">
9
+ <rect id="Rectangle-23" stroke="#979797" sketch:type="MSShapeGroup" x="54" y="0" width="32" height="32" rx="40"></rect>
10
+ <path d="M66.6,11 L63.9940603,11 C62.8945138,11 62,11.8918564 62,12.992017 L62,20.007983 C62,21.0998238 62.8927712,22 63.9940603,22 L76.0059397,22 C77.1054862,22 78,21.1081436 78,20.007983 L78,12.992017 C78,11.9001762 77.1072288,11 76.0059397,11 L73.4,11 L73.3923564,10.9617818 C73.1741867,9.87093353 72.1055038,9 71.0020869,9 L68.9979131,9 C67.8982606,9 66.8243361,9.87831961 66.6076436,10.9617818 L66.6,11 Z M67.4237976,12 L64.0068455,12 C63.4499488,12 63,12.446616 63,12.9975446 L63,20.0024554 C63,20.5536886 63.4507801,21 64.0068455,21 L75.9931545,21 C76.5500512,21 77,20.553384 77,20.0024554 L77,12.9975446 C77,12.4463114 76.5492199,12 75.9931545,12 L72.5741578,12 L72.3575338,10.9785101 C72.2440449,10.4433532 71.7032593,10 71.1521466,10 L68.8454731,10 C68.2918258,10 67.7547637,10.4380939 67.6402501,10.9785101 L67.4237976,12 Z M67,16 C67,14.3431458 68.3465171,13 70,13 C71.6568542,13 73,14.3465171 73,16 C73,17.6568542 71.6534829,19 70,19 C68.3431458,19 67,17.6534829 67,16 Z M68,16 C68,14.8954305 68.8877296,14 70,14 C71.1045695,14 72,14.8877296 72,16 C72,17.1045695 71.1122704,18 70,18 C68.8954305,18 68,17.1122704 68,16 Z" id="Rectangle-22" fill="#000000" sketch:type="MSShapeGroup"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.2 (9961) - http://www.bohemiancoding.com/sketch -->
4
+ <title>more</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Group" sketch:type="MSLayerGroup" transform="translate(-8.000000, -8.000000)">
9
+ <rect id="Rectangle-23" stroke="#979797" sketch:type="MSShapeGroup" x="0" y="0" width="32" height="32" rx="40"></rect>
10
+ <path d="M16.5,16.5 L16.5,22.363961 C16.5,22.6401034 16.2761424,22.863961 16,22.863961 C15.7238576,22.863961 15.5,22.6401034 15.5,22.363961 L15.5,16.5 L9.63603897,16.5 C9.35989659,16.5 9.13603897,16.2761424 9.13603897,16 C9.13603897,15.7238576 9.35989659,15.5 9.63603897,15.5 L15.5,15.5 L15.5,9.63603897 C15.5,9.35989659 15.7238576,9.13603897 16,9.13603897 C16.2761424,9.13603897 16.5,9.35989659 16.5,9.63603897 L16.5,15.5 L22.363961,15.5 C22.6401034,15.5 22.863961,15.7238576 22.863961,16 C22.863961,16.2761424 22.6401034,16.5 22.363961,16.5 L16.5,16.5 L16.5,16.5 Z" id="Line" fill="#000000" sketch:type="MSShapeGroup"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,13 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sketch="http://www.bohemiancoding.com/sketch/ns">
3
+ <!-- Generator: Sketch 3.2 (9961) - http://www.bohemiancoding.com/sketch -->
4
+ <title>media</title>
5
+ <desc>Created with Sketch.</desc>
6
+ <defs></defs>
7
+ <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" sketch:type="MSPage">
8
+ <g id="Group" sketch:type="MSLayerGroup" transform="translate(-103.000000, -8.000000)">
9
+ <rect id="Rectangle-23" stroke="#979797" sketch:type="MSShapeGroup" x="95" y="0" width="32" height="32" rx="40"></rect>
10
+ <path d="M107,11.1318944 C107,10.0292777 107.735324,9.64023121 108.651297,10.2690478 L115.348703,14.8668273 C116.260689,15.492907 116.264676,16.5052457 115.348703,17.1340624 L108.651297,21.7318418 C107.739311,22.3579215 107,21.9645938 107,20.8689953 L107,11.1318944 Z M108,11.020874 L114.659302,15.6066284 C115.136292,15.9230347 115.125427,16.0910034 114.659302,16.404602 L108,21.0145874 L108,11.020874 Z" id="Rectangle-20" fill="#000000" sketch:type="MSShapeGroup"></path>
11
+ </g>
12
+ </g>
13
+ </svg>
@@ -0,0 +1,18 @@
1
+ ---
2
+ title: Dante Editor example
3
+ ---
4
+
5
+ <div id="editor">
6
+ <%= partial "partials/readme" %>
7
+ </div>
8
+
9
+ <script type="text/javascript">
10
+ editor = new Dante.Editor(
11
+ {
12
+ el: "#editor",
13
+ upload_url: "/uploads/new.json",
14
+ debug: <%= build? ? false : true %>
15
+ }
16
+ )
17
+ editor.start()
18
+ </script>
@@ -0,0 +1,26 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
6
+ <title><%= current_page.data.title || "The Middleman" %></title>
7
+ <%= stylesheet_link_tag "normalize", "all", "dante-editor" %>
8
+ <%= javascript_include_tag "deps", "dante-editor" %>
9
+ </head>
10
+
11
+ <body class="<%= page_classes %>">
12
+
13
+ <div id="header">
14
+ <div class="logo">
15
+ <img src="assets/images/dante-editor-logo.png" alt="dante editor" height="21" >
16
+ <span>Dante Editor - <%= DanteEditor::VERSION %> </span>
17
+ </div>
18
+ <a class="github tooltip-left" data-tooltip="Fork me on github" target="_blank" href="https://github.com/michelson/dante">
19
+ <img src="assets/images/github-logo.png" alt="Fork me on github" height="28" >
20
+ </a>
21
+ </div>
22
+
23
+ <%= yield %>
24
+
25
+ </body>
26
+ </html>