dante-editor 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +11 -3
- data/app/assets/javascripts/dante/editor.js.coffee +151 -33
- data/app/assets/javascripts/dante/menu.js.coffee +3 -0
- data/app/assets/javascripts/dante/tooltip.js.coffee +21 -14
- data/app/assets/stylesheets/dante/_fonts.scss +8 -8
- data/app/assets/stylesheets/dante/_graf.scss +9 -0
- data/app/assets/stylesheets/dante/_utilities.scss +35 -0
- data/bower.json +1 -1
- data/dist/0.0.7/js/dante-editor.js +216 -9
- data/dist/0.0.8/css/dante-editor.css +1116 -0
- data/dist/0.0.8/fonts/dante/dante.eot +0 -0
- data/dist/0.0.8/fonts/dante/dante.svg +14 -0
- data/dist/0.0.8/fonts/dante/dante.ttf +0 -0
- data/dist/0.0.8/fonts/dante/dante.woff +0 -0
- data/dist/0.0.8/fonts/dante/fontello.eot +0 -0
- data/dist/0.0.8/fonts/dante/fontello.svg +36 -0
- data/dist/0.0.8/fonts/dante/fontello.ttf +0 -0
- data/dist/0.0.8/fonts/dante/fontello.woff +0 -0
- data/dist/0.0.8/images/dante/media-loading-placeholder.png +0 -0
- data/dist/0.0.8/js/dante-editor.js +2532 -0
- data/lib/dante-editor/version.rb +1 -1
- data/{icons → source/icons}/dante.json +0 -0
- data/{icons → source/icons}/embed.svg +0 -0
- data/{icons → source/icons}/image.svg +0 -0
- data/{icons → source/icons}/plus.svg +0 -0
- data/{icons → source/icons}/video.svg +0 -0
- data/source/lists.html.erb +18 -0
- data/source/partials/_lists.erb +13 -0
- metadata +20 -7
data/lib/dante-editor/version.rb
CHANGED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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>
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dante-editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Miguel Michelson
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2015-01-21 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: dante-editor yet another Medium editor clone.
|
15
15
|
email:
|
@@ -76,11 +76,17 @@ files:
|
|
76
76
|
- dist/0.0.7/fonts/dante/fontello.woff
|
77
77
|
- dist/0.0.7/images/dante/media-loading-placeholder.png
|
78
78
|
- dist/0.0.7/js/dante-editor.js
|
79
|
-
-
|
80
|
-
-
|
81
|
-
-
|
82
|
-
-
|
83
|
-
-
|
79
|
+
- dist/0.0.8/css/dante-editor.css
|
80
|
+
- dist/0.0.8/fonts/dante/dante.eot
|
81
|
+
- dist/0.0.8/fonts/dante/dante.svg
|
82
|
+
- dist/0.0.8/fonts/dante/dante.ttf
|
83
|
+
- dist/0.0.8/fonts/dante/dante.woff
|
84
|
+
- dist/0.0.8/fonts/dante/fontello.eot
|
85
|
+
- dist/0.0.8/fonts/dante/fontello.svg
|
86
|
+
- dist/0.0.8/fonts/dante/fontello.ttf
|
87
|
+
- dist/0.0.8/fonts/dante/fontello.woff
|
88
|
+
- dist/0.0.8/images/dante/media-loading-placeholder.png
|
89
|
+
- dist/0.0.8/js/dante-editor.js
|
84
90
|
- lib/dante-editor.rb
|
85
91
|
- lib/dante-editor/rails.rb
|
86
92
|
- lib/dante-editor/version.rb
|
@@ -102,13 +108,20 @@ files:
|
|
102
108
|
- source/assets/stylesheets/dante-editor.css.scss
|
103
109
|
- source/assets/stylesheets/normalize.css
|
104
110
|
- source/embeds.html.erb
|
111
|
+
- source/icons/dante.json
|
112
|
+
- source/icons/embed.svg
|
113
|
+
- source/icons/image.svg
|
114
|
+
- source/icons/plus.svg
|
115
|
+
- source/icons/video.svg
|
105
116
|
- source/index.html.erb
|
106
117
|
- source/layouts/layout.erb
|
107
118
|
- source/layouts/spec.html.erb
|
119
|
+
- source/lists.html.erb
|
108
120
|
- source/partials/_content.erb
|
109
121
|
- source/partials/_example_1.erb
|
110
122
|
- source/partials/_example_2.erb
|
111
123
|
- source/partials/_example_3.erb
|
124
|
+
- source/partials/_lists.erb
|
112
125
|
- source/partials/_readme.markdown
|
113
126
|
- source/partials/test/_example_1.erb
|
114
127
|
- source/tests/dante_view.html.erb
|