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,22 @@
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>Dante Wysiwyg Specs</title>
7
+ <link rel="stylesheet" href="//code.jquery.com/qunit/qunit-1.15.0.css">
8
+ <%= stylesheet_link_tag "normalize", "all", "dante-editor" %>
9
+ <%= javascript_include_tag "deps", "dante-editor" %>
10
+ </head>
11
+
12
+ <body class="<%= page_classes %>">
13
+
14
+ <%= yield %>
15
+
16
+ <div id="qunit"></div>
17
+ <div id="qunit-fixture"></div>
18
+ <script src="//code.jquery.com/qunit/qunit-1.15.0.js"></script>
19
+ <%= yield_content :js %>
20
+
21
+ </body>
22
+ </html>
@@ -0,0 +1,18 @@
1
+ ---
2
+ title: Dante Editor example
3
+ ---
4
+
5
+ <div id="editor">
6
+ <%= partial "partials/lists" %>
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,6 @@
1
+ <h2>Dante Editor</h2>
2
+ <h3>Just another Medium editor clone.</h3>
3
+ <p></p>
4
+ <h4>Motivation</h4>
5
+ <p>I´ve tried all the medium clones out there, they are really great and all have it´s pros & cons, but none of them have all the features that medium wysywig provides, so I wonder, how difficult could be build my own Medium clone?</p>
6
+ <a href="https://github.com/michelson/dante">Fork me on github</a>
@@ -0,0 +1,45 @@
1
+ <h1>
2
+ <a name="user-content-sanitizejs" class="anchor" href="http://sanitizejs" aria-hidden="true">iojij<span class="octicon octicon-link"></span>esto no deberia tener span y deberia ser un parrafo</a>
3
+
4
+ </h1>
5
+
6
+ <p>este parrafo deberia tener las clases graff</p>
7
+
8
+
9
+ <h2>this element shuld be converted graf-inner</h2>
10
+ <div class="minimal-thumbnail col-12 col-sm-6 col-lg-3" id="serie_1272"><a href="http://daniel-sanchez-davey.artenlinea.com">
11
+ <div class="image">
12
+ <img class="img-responsive" src="https://artenlinea.s3.amazonaws.com/621/art_works/12339/resize/7392frutusventris.jpg">
13
+ </div>
14
+ <div class="minimal-caption">
15
+ <div class="title">
16
+ Extra tenebrae
17
+ </div>
18
+ <div class="subtitle">
19
+ <p>grupo de pinturas de la muestra EXTRA TENEBRAE</p>
20
+ </div>
21
+ </div>
22
+ </a></div>
23
+
24
+ <p>Sanitize.js heavily inspired by the Ruby Sanitize library
25
+ (<a href="http://github.com/rgrove/sanitize">http://github.com/rgrove/sanitize</a>). It tries to port it as faithful as
26
+ possible.</p>
27
+
28
+
29
+ <a name="user-content-usage" class="anchor" href="#usage" aria-hidden="true">este link deberia estar wrapeado en un p </a>
30
+
31
+
32
+ <pre><code>&lt;p id="para1"&gt;&lt;b&gt;&lt;a href="http://foo.com/"&gt;foo&lt;/a&gt;&lt;/b&gt;&lt;img src="http://foo.com/bar.jpg" /&gt;&lt;/p&gt;
33
+ </code></pre>
34
+
35
+
36
+ <div class="graf--mixtapeEmbed">
37
+ <a data-href="" href="" class="markup--anchor markup--mixtapeEmbed-anchor" data-tooltip="" title="" data-tooltip-position="bottom" link="" href="http://artenlinea.com" u-ignoreblock="" mixtapeimage--empty="" mixtapeimage="" js-mixtapeimage="" data-media-id="" class="" target="_blank">
38
+ <strong class="markup--strong markup--mixtapeEmbed-strong">Artenlinea - Arte contemporáneo
39
+ </strong>
40
+ <em class="markup--em markup--mixtapeEmbed-em">
41
+ Artenlinea es una red social de artistas visuales que a través de su plataforma web promueve la producción, exhibición y circulación de arte contemporáneo.
42
+ </em>
43
+ </a>
44
+ http://artenlinea.com
45
+ </div>
@@ -0,0 +1,32 @@
1
+
2
+ <%= partial "partials/example_3" %>
3
+
4
+ <h2>PAGE EMBEDS </h2>
5
+
6
+ <div class="graf graf--mixtapeEmbed">
7
+
8
+ <a target="_blank" data-media-id="" class="js-mixtapeImage mixtapeImage" href="" style="background-image: url(https://pbs.twimg.com/media/A2S-WFpCIAAsUAo.jpg:large);">
9
+ </a>
10
+
11
+ <a data-tooltip-type="link" data-tooltip-position="bottom" data-tooltip="" title="" class="markup--anchor markup--mixtapeEmbed-anchor" data-href="" href="https://twitter.com/michelson" target="_blank">
12
+ <strong class="markup--strong markup--mixtapeEmbed-strong">miguel michelson (@michelson) | Twitter
13
+ </strong>
14
+ <br>
15
+ <em class="markup--em markup--mixtapeEmbed-em">The latest Tweets from miguel michelson (@michelson). artista visual, desarrollador de aplicaciones web, escucho mucho Zappa. Chile
16
+ </em>
17
+ </a>
18
+ https://twitter.com
19
+ </div>
20
+
21
+
22
+ <h2>EMBEDS WITH IFRAME</h2>
23
+
24
+ <figure contenteditable="false" class="graf--figure graf--iframe" tabindex="0">
25
+ <div class="iframeContainer">
26
+ <iframe frameborder="0" width="700" height="393" data-media-id="" src="http://cdn.embedly.com/widgets/media.html?url=https%3A%2F%2Fsoundcloud.com%2Fheorgegarrison%2Fshortridge-x012&amp;src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Fvisual%3Dtrue%26url%3Dhttp%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F172652576%26show_artwork%3Dtrue&amp;image=http%3A%2F%2Fi1.sndcdn.com%2Fartworks-000094324120-v9rbfd-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" data-height="480" data-width="854">
27
+ </iframe>
28
+ </div>
29
+ <figcaption contenteditable="true" data-default-value="Type caption for embed (optional)" class="imageCaption">
30
+ <a rel="nofollow" class="markup--anchor markup--figure-anchor" data-href="" href="http://soundcloud.com/heorgegarrison" target="_blank">http://soundcloud.com/heorgegarrison</a>
31
+ </figcaption>
32
+ </figure>