dante-editor-seo 0.0.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +40 -0
- data/.ruby-version +1 -0
- data/.travis.yml +4 -0
- data/Gemfile +23 -0
- data/Gemfile.lock +140 -0
- data/Procfile +1 -0
- data/README.md +187 -0
- data/ROADMAP.md +10 -0
- data/TODO.md +30 -0
- data/app/assets/fonts/dante/dante.eot +0 -0
- data/app/assets/fonts/dante/dante.svg +14 -0
- data/app/assets/fonts/dante/dante.ttf +0 -0
- data/app/assets/fonts/dante/dante.woff +0 -0
- data/app/assets/fonts/dante/fontello.eot +0 -0
- data/app/assets/fonts/dante/fontello.svg +36 -0
- data/app/assets/fonts/dante/fontello.ttf +0 -0
- data/app/assets/fonts/dante/fontello.woff +0 -0
- data/app/assets/images/dante/media-loading-placeholder.png +0 -0
- data/app/assets/javascripts/dante/dante.js.coffee.erb +10 -0
- data/app/assets/javascripts/dante/editor.js.coffee +1250 -0
- data/app/assets/javascripts/dante/menu.js.coffee +216 -0
- data/app/assets/javascripts/dante/popover.js.coffee +75 -0
- data/app/assets/javascripts/dante/tooltip.js.coffee +82 -0
- data/app/assets/javascripts/dante/tooltip_widget.js.coffee +10 -0
- data/app/assets/javascripts/dante/tooltip_widgets/embed.js.coffee +60 -0
- data/app/assets/javascripts/dante/tooltip_widgets/extract.js.coffee +64 -0
- data/app/assets/javascripts/dante/tooltip_widgets/uploader.js.coffee +248 -0
- data/app/assets/javascripts/dante/utils.js.coffee +235 -0
- data/app/assets/javascripts/dante/view.js.coffee +101 -0
- data/app/assets/javascripts/dante.js +12 -0
- data/app/assets/stylesheets/dante/_animations.scss +54 -0
- data/app/assets/stylesheets/dante/_caption.scss +52 -0
- data/app/assets/stylesheets/dante/_debug.scss +11 -0
- data/app/assets/stylesheets/dante/_fonts.scss +17 -0
- data/app/assets/stylesheets/dante/_graf.scss +238 -0
- data/app/assets/stylesheets/dante/_icons.scss +57 -0
- data/app/assets/stylesheets/dante/_media.scss +39 -0
- data/app/assets/stylesheets/dante/_menu.scss +153 -0
- data/app/assets/stylesheets/dante/_needsorder.scss +209 -0
- data/app/assets/stylesheets/dante/_popover.scss +134 -0
- data/app/assets/stylesheets/dante/_post.scss +69 -0
- data/app/assets/stylesheets/dante/_scaffold.scss +20 -0
- data/app/assets/stylesheets/dante/_tooltip.scss +131 -0
- data/app/assets/stylesheets/dante/_utilities.scss +55 -0
- data/app/assets/stylesheets/dante/_variables.scss +46 -0
- data/app/assets/stylesheets/dante.scss +18 -0
- data/bower.json +44 -0
- data/config.rb +86 -0
- data/config.ru +42 -0
- data/dante-editor.gemspec +19 -0
- data/dist/css/dante-editor.css +1116 -0
- data/dist/fonts/dante/dante.eot +0 -0
- data/dist/fonts/dante/dante.svg +14 -0
- data/dist/fonts/dante/dante.ttf +0 -0
- data/dist/fonts/dante/dante.woff +0 -0
- data/dist/fonts/dante/fontello.eot +0 -0
- data/dist/fonts/dante/fontello.svg +36 -0
- data/dist/fonts/dante/fontello.ttf +0 -0
- data/dist/fonts/dante/fontello.woff +0 -0
- data/dist/images/dante/media-loading-placeholder.png +0 -0
- data/dist/js/dante-editor.js +2878 -0
- data/lib/dante-editor/rails.rb +4 -0
- data/lib/dante-editor/version.rb +5 -0
- data/lib/dante-editor.rb +5 -0
- data/license.md +22 -0
- data/rakefile +2 -0
- data/source/assets/images/dante-editor-logo.png +0 -0
- data/source/assets/images/github-logo.png +0 -0
- data/source/assets/javascripts/all.js +3 -0
- data/source/assets/javascripts/dante-editor.js +1 -0
- data/source/assets/javascripts/deps.js +4 -0
- data/source/assets/javascripts/examples/custom_toolbar.js.coffee +30 -0
- data/source/assets/javascripts/spec.js +2 -0
- data/source/assets/javascripts/specs/cleaner.js.coffee +8 -0
- data/source/assets/javascripts/specs/dante_view.js.coffee +74 -0
- data/source/assets/javascripts/specs/editor.js.coffee +78 -0
- data/source/assets/stylesheets/_layout.scss +51 -0
- data/source/assets/stylesheets/_scaffold.scss +8 -0
- data/source/assets/stylesheets/_tooltips.scss +216 -0
- data/source/assets/stylesheets/all.css.scss +5 -0
- data/source/assets/stylesheets/dante-editor.css.scss +1 -0
- data/source/assets/stylesheets/normalize.css +375 -0
- data/source/custom_toolbar.erb +29 -0
- data/source/embeds.html.erb +27 -0
- data/source/icons/dante.json +143 -0
- data/source/icons/embed.svg +13 -0
- data/source/icons/image.svg +13 -0
- data/source/icons/plus.svg +13 -0
- data/source/icons/video.svg +13 -0
- data/source/index.html.erb +18 -0
- data/source/layouts/layout.erb +26 -0
- data/source/layouts/spec.html.erb +22 -0
- data/source/lists.html.erb +18 -0
- data/source/partials/_content.erb +6 -0
- data/source/partials/_example_1.erb +45 -0
- data/source/partials/_example_2.erb +32 -0
- data/source/partials/_example_3.erb +4 -0
- data/source/partials/_lists.erb +13 -0
- data/source/partials/_readme.markdown +24 -0
- data/source/partials/test/_example_1.erb +39 -0
- data/source/tests/dante_view.html.erb +11 -0
- data/source/tests/index.html.erb +39 -0
- data/tmp/.gitkeep +0 -0
- 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><p id="para1"><b><a href="http://foo.com/">foo</a></b><img src="http://foo.com/bar.jpg" /></p>
|
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&src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Fvisual%3Dtrue%26url%3Dhttp%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F172652576%26show_artwork%3Dtrue&image=http%3A%2F%2Fi1.sndcdn.com%2Fartworks-000094324120-v9rbfd-t500x500.jpg&type=text%2Fhtml&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>
|