dante2-editor 0.2.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.babelrc +20 -0
- data/.eslint +13 -0
- data/.gitignore +15 -0
- data/README.md +5 -1
- data/dante2.gemspec +2 -4
- data/{app → demo}/assets/index.html +2 -2
- data/{app → demo}/assets/license.html +1 -1
- data/{app → demo}/assets/options.html +1 -5
- data/{app → demo}/assets/store.json +0 -0
- data/demo/data/poc.js +9 -0
- data/demo/demo.js +9 -0
- data/demo/initialize.js +7 -0
- data/{app → demo}/styles/layout/layout.scss +0 -0
- data/{app → demo}/styles/layout/normalize.css +0 -0
- data/{app → demo}/styles/layout/scaffold.scss +0 -0
- data/{app → demo}/styles/layout/tooltips.scss +0 -0
- data/dist/Dante2.js +2995 -0
- data/dist/Dante2.min.js +3 -0
- data/dist/Dante2.min.js.map +1 -0
- data/dist/DanteStyles.css +2 -0
- data/dist/DanteStyles.css.map +1 -0
- data/dist/DanteStyles.js +102 -0
- data/dist/DanteStyles.min.js +2 -0
- data/dist/DanteStyles.min.js.map +1 -0
- data/dist/dante-vendors.js +48316 -0
- data/dist/dante-vendors.min.js +29 -0
- data/dist/dante-vendors.min.js.map +1 -0
- data/{app/styles/fonts/dante → dist/fonts}/dante.eot +0 -0
- data/{app/styles/fonts/dante → dist/fonts}/dante.svg +0 -0
- data/{app/styles/fonts/dante → dist/fonts}/dante.ttf +0 -0
- data/{app/styles/fonts/dante → dist/fonts}/dante.woff +0 -0
- data/{app/styles/fonts/dante → dist/fonts}/fontello.eot +0 -0
- data/{app/styles/fonts/dante → dist/fonts}/fontello.svg +0 -0
- data/{app/styles/fonts/dante → dist/fonts}/fontello.ttf +0 -0
- data/{app/styles/fonts/dante → dist/fonts}/fontello.woff +0 -0
- data/docs/app.css +430 -1
- data/docs/app.css.map +1 -1
- data/docs/app.js +62 -2
- data/docs/app.js.map +1 -1
- data/docs/dante-vendors.js +49513 -22
- data/docs/dante-vendors.js.map +1 -1
- data/docs/dante.css +1602 -1
- data/docs/dante.css.map +1 -1
- data/docs/dante.js +3310 -3
- data/docs/dante.js.map +1 -1
- data/docs/doc.html +3 -7
- data/docs/index.html +4 -4
- data/docs/license.html +3 -3
- data/docs/options.html +53 -0
- data/package.json +47 -17
- data/rb_lib/dante2-editor/rails.rb +15 -0
- data/{lib → rb_lib}/dante2-editor/version.rb +1 -1
- data/{lib → rb_lib}/dante2-editor.rb +0 -0
- data/src/components/blocks/embed.js +126 -0
- data/src/components/blocks/image.js +377 -0
- data/src/components/blocks/placeholder.js +68 -0
- data/src/components/blocks/video.js +80 -0
- data/src/components/dante.js +291 -0
- data/src/components/dante_editor.js +928 -0
- data/src/components/debug.js +104 -0
- data/src/components/decorators/link.js +64 -0
- data/src/components/popovers/addButton.js +318 -0
- data/src/components/popovers/image.js +188 -0
- data/src/components/popovers/link.js +107 -0
- data/src/components/popovers/toolTip.js +402 -0
- data/{app/utils/logger.coffee → src/components/wrapper.js} +0 -0
- data/{app → src}/images/dante/media-loading-placeholder.png +0 -0
- data/{app → src}/images/site/dante-demo.png +0 -0
- data/{app → src}/images/site/dante-editor-logo.png +0 -0
- data/{app → src}/images/site/github-logo.png +0 -0
- data/src/index.js +9 -0
- data/{app → src}/model/index.js +0 -0
- data/src/style.js +3 -0
- data/{app → src}/styles/dante/_animations.scss +0 -0
- data/{app → src}/styles/dante/_caption.scss +0 -0
- data/{app → src}/styles/dante/_debug.scss +0 -0
- data/{app → src}/styles/dante/_fonts.scss +0 -0
- data/{app → src}/styles/dante/_graf.scss +0 -0
- data/{app → src}/styles/dante/_icons.scss +0 -0
- data/{app → src}/styles/dante/_media.scss +0 -0
- data/{app → src}/styles/dante/_menu.scss +0 -0
- data/{app → src}/styles/dante/_needsorder.scss +0 -0
- data/{app → src}/styles/dante/_popover.scss +0 -0
- data/{app → src}/styles/dante/_post.scss +0 -0
- data/{app → src}/styles/dante/_scaffold.scss +0 -0
- data/{app → src}/styles/dante/_tooltip.scss +0 -0
- data/{app → src}/styles/dante/_utilities.scss +0 -0
- data/{app → src}/styles/dante/_variables.scss +0 -0
- data/{app → src}/styles/dante/blame.scss +0 -0
- data/{app → src}/styles/dante.scss +0 -0
- data/{app → src}/styles/draft.css +0 -0
- data/src/styles/fonts/dante/dante.eot +0 -0
- data/src/styles/fonts/dante/dante.svg +18 -0
- data/src/styles/fonts/dante/dante.ttf +0 -0
- data/src/styles/fonts/dante/dante.woff +0 -0
- data/src/styles/fonts/dante/fontello.eot +0 -0
- data/src/styles/fonts/dante/fontello.svg +36 -0
- data/src/styles/fonts/dante/fontello.ttf +0 -0
- data/src/styles/fonts/dante/fontello.woff +0 -0
- data/src/utils/find_entities.js +17 -0
- data/src/utils/html2content.js +127 -0
- data/src/utils/save_content.js +80 -0
- data/{app → src}/utils/selection.js +0 -0
- data/tools/.eslintrc +9 -0
- data/tools/amd/README.md +7 -0
- data/tools/amd/bower.json +19 -0
- data/tools/amd/build.js +36 -0
- data/tools/build-cli.js +46 -0
- data/tools/build.js +30 -0
- data/tools/buildBabel.js +32 -0
- data/tools/constants.js +10 -0
- data/tools/dist/build.js +13 -0
- data/tools/docs/build.js +12 -0
- data/tools/es/build.js +27 -0
- data/tools/exec.js +50 -0
- data/tools/fs-utils.js +35 -0
- data/tools/lib/build.js +14 -0
- data/tools/promisify.js +14 -0
- data/webpack/base.config.js +89 -0
- data/webpack/docs.config.js +147 -0
- data/webpack/webpack.config.js +78 -0
- data/webpack.config-doc.js +5 -0
- data/webpack.config.js +3 -147
- data/yarn.lock +973 -718
- metadata +108 -64
- data/app/components/App.cjsx +0 -1083
- data/app/components/blocks/embed.cjsx +0 -109
- data/app/components/blocks/image.cjsx +0 -316
- data/app/components/blocks/placeholder.cjsx +0 -60
- data/app/components/blocks/video.cjsx +0 -75
- data/app/components/debug.cjsx +0 -96
- data/app/components/decorators/link.cjsx +0 -61
- data/app/components/popovers/addButton.cjsx +0 -247
- data/app/components/popovers/image.cjsx +0 -160
- data/app/components/popovers/link.cjsx +0 -87
- data/app/components/popovers/toolTip.cjsx +0 -326
- data/app/data/poc.js +0 -15
- data/app/demo.js +0 -7
- data/app/initialize.js +0 -4
- data/app/utils/find_entities.coffee +0 -20
- data/app/utils/html2content.coffee +0 -120
- data/app/utils/save_content.coffee +0 -63
- data/lib/dante2-editor/rails.rb +0 -16
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dante2-editor
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.1
|
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: 2017-02-08 00:00:00.000000000 Z
|
13
13
|
dependencies: []
|
14
14
|
description: dante-editor yet another Medium editor clone.
|
15
15
|
email:
|
@@ -19,70 +19,44 @@ executables: []
|
|
19
19
|
extensions: []
|
20
20
|
extra_rdoc_files: []
|
21
21
|
files:
|
22
|
+
- ".babelrc"
|
23
|
+
- ".eslint"
|
22
24
|
- ".gitignore"
|
23
25
|
- Gemfile
|
24
26
|
- Gemfile.lock
|
25
27
|
- README.md
|
26
|
-
- app/assets/index.html
|
27
|
-
- app/assets/license.html
|
28
|
-
- app/assets/options.html
|
29
|
-
- app/assets/store.json
|
30
|
-
- app/components/App.cjsx
|
31
|
-
- app/components/blocks/embed.cjsx
|
32
|
-
- app/components/blocks/image.cjsx
|
33
|
-
- app/components/blocks/placeholder.cjsx
|
34
|
-
- app/components/blocks/video.cjsx
|
35
|
-
- app/components/debug.cjsx
|
36
|
-
- app/components/decorators/link.cjsx
|
37
|
-
- app/components/popovers/addButton.cjsx
|
38
|
-
- app/components/popovers/image.cjsx
|
39
|
-
- app/components/popovers/link.cjsx
|
40
|
-
- app/components/popovers/toolTip.cjsx
|
41
|
-
- app/data/poc.js
|
42
|
-
- app/demo.js
|
43
|
-
- app/images/dante/media-loading-placeholder.png
|
44
|
-
- app/images/site/dante-demo.png
|
45
|
-
- app/images/site/dante-editor-logo.png
|
46
|
-
- app/images/site/github-logo.png
|
47
|
-
- app/initialize.js
|
48
|
-
- app/model/index.js
|
49
|
-
- app/styles/dante.scss
|
50
|
-
- app/styles/dante/_animations.scss
|
51
|
-
- app/styles/dante/_caption.scss
|
52
|
-
- app/styles/dante/_debug.scss
|
53
|
-
- app/styles/dante/_fonts.scss
|
54
|
-
- app/styles/dante/_graf.scss
|
55
|
-
- app/styles/dante/_icons.scss
|
56
|
-
- app/styles/dante/_media.scss
|
57
|
-
- app/styles/dante/_menu.scss
|
58
|
-
- app/styles/dante/_needsorder.scss
|
59
|
-
- app/styles/dante/_popover.scss
|
60
|
-
- app/styles/dante/_post.scss
|
61
|
-
- app/styles/dante/_scaffold.scss
|
62
|
-
- app/styles/dante/_tooltip.scss
|
63
|
-
- app/styles/dante/_utilities.scss
|
64
|
-
- app/styles/dante/_variables.scss
|
65
|
-
- app/styles/dante/blame.scss
|
66
|
-
- app/styles/draft.css
|
67
|
-
- app/styles/fonts/dante/dante.eot
|
68
|
-
- app/styles/fonts/dante/dante.svg
|
69
|
-
- app/styles/fonts/dante/dante.ttf
|
70
|
-
- app/styles/fonts/dante/dante.woff
|
71
|
-
- app/styles/fonts/dante/fontello.eot
|
72
|
-
- app/styles/fonts/dante/fontello.svg
|
73
|
-
- app/styles/fonts/dante/fontello.ttf
|
74
|
-
- app/styles/fonts/dante/fontello.woff
|
75
|
-
- app/styles/layout/layout.scss
|
76
|
-
- app/styles/layout/normalize.css
|
77
|
-
- app/styles/layout/scaffold.scss
|
78
|
-
- app/styles/layout/tooltips.scss
|
79
|
-
- app/utils/find_entities.coffee
|
80
|
-
- app/utils/html2content.coffee
|
81
|
-
- app/utils/logger.coffee
|
82
|
-
- app/utils/save_content.coffee
|
83
|
-
- app/utils/selection.js
|
84
28
|
- config.ru
|
85
29
|
- dante2.gemspec
|
30
|
+
- demo/assets/index.html
|
31
|
+
- demo/assets/license.html
|
32
|
+
- demo/assets/options.html
|
33
|
+
- demo/assets/store.json
|
34
|
+
- demo/data/poc.js
|
35
|
+
- demo/demo.js
|
36
|
+
- demo/initialize.js
|
37
|
+
- demo/styles/layout/layout.scss
|
38
|
+
- demo/styles/layout/normalize.css
|
39
|
+
- demo/styles/layout/scaffold.scss
|
40
|
+
- demo/styles/layout/tooltips.scss
|
41
|
+
- dist/Dante2.js
|
42
|
+
- dist/Dante2.min.js
|
43
|
+
- dist/Dante2.min.js.map
|
44
|
+
- dist/DanteStyles.css
|
45
|
+
- dist/DanteStyles.css.map
|
46
|
+
- dist/DanteStyles.js
|
47
|
+
- dist/DanteStyles.min.js
|
48
|
+
- dist/DanteStyles.min.js.map
|
49
|
+
- dist/dante-vendors.js
|
50
|
+
- dist/dante-vendors.min.js
|
51
|
+
- dist/dante-vendors.min.js.map
|
52
|
+
- dist/fonts/dante.eot
|
53
|
+
- dist/fonts/dante.svg
|
54
|
+
- dist/fonts/dante.ttf
|
55
|
+
- dist/fonts/dante.woff
|
56
|
+
- dist/fonts/fontello.eot
|
57
|
+
- dist/fonts/fontello.svg
|
58
|
+
- dist/fonts/fontello.ttf
|
59
|
+
- dist/fonts/fontello.woff
|
86
60
|
- docs/app.css
|
87
61
|
- docs/app.css.map
|
88
62
|
- docs/app.js
|
@@ -106,12 +80,82 @@ files:
|
|
106
80
|
- docs/images/github-logo.png
|
107
81
|
- docs/index.html
|
108
82
|
- docs/license.html
|
109
|
-
-
|
110
|
-
- lib/dante2-editor/rails.rb
|
111
|
-
- lib/dante2-editor/version.rb
|
83
|
+
- docs/options.html
|
112
84
|
- package.json
|
113
85
|
- rakefile
|
86
|
+
- rb_lib/dante2-editor.rb
|
87
|
+
- rb_lib/dante2-editor/rails.rb
|
88
|
+
- rb_lib/dante2-editor/version.rb
|
89
|
+
- src/components/blocks/embed.js
|
90
|
+
- src/components/blocks/image.js
|
91
|
+
- src/components/blocks/placeholder.js
|
92
|
+
- src/components/blocks/video.js
|
93
|
+
- src/components/dante.js
|
94
|
+
- src/components/dante_editor.js
|
95
|
+
- src/components/debug.js
|
96
|
+
- src/components/decorators/link.js
|
97
|
+
- src/components/popovers/addButton.js
|
98
|
+
- src/components/popovers/image.js
|
99
|
+
- src/components/popovers/link.js
|
100
|
+
- src/components/popovers/toolTip.js
|
101
|
+
- src/components/wrapper.js
|
102
|
+
- src/images/dante/media-loading-placeholder.png
|
103
|
+
- src/images/site/dante-demo.png
|
104
|
+
- src/images/site/dante-editor-logo.png
|
105
|
+
- src/images/site/github-logo.png
|
106
|
+
- src/index.js
|
107
|
+
- src/model/index.js
|
108
|
+
- src/style.js
|
109
|
+
- src/styles/dante.scss
|
110
|
+
- src/styles/dante/_animations.scss
|
111
|
+
- src/styles/dante/_caption.scss
|
112
|
+
- src/styles/dante/_debug.scss
|
113
|
+
- src/styles/dante/_fonts.scss
|
114
|
+
- src/styles/dante/_graf.scss
|
115
|
+
- src/styles/dante/_icons.scss
|
116
|
+
- src/styles/dante/_media.scss
|
117
|
+
- src/styles/dante/_menu.scss
|
118
|
+
- src/styles/dante/_needsorder.scss
|
119
|
+
- src/styles/dante/_popover.scss
|
120
|
+
- src/styles/dante/_post.scss
|
121
|
+
- src/styles/dante/_scaffold.scss
|
122
|
+
- src/styles/dante/_tooltip.scss
|
123
|
+
- src/styles/dante/_utilities.scss
|
124
|
+
- src/styles/dante/_variables.scss
|
125
|
+
- src/styles/dante/blame.scss
|
126
|
+
- src/styles/draft.css
|
127
|
+
- src/styles/fonts/dante/dante.eot
|
128
|
+
- src/styles/fonts/dante/dante.svg
|
129
|
+
- src/styles/fonts/dante/dante.ttf
|
130
|
+
- src/styles/fonts/dante/dante.woff
|
131
|
+
- src/styles/fonts/dante/fontello.eot
|
132
|
+
- src/styles/fonts/dante/fontello.svg
|
133
|
+
- src/styles/fonts/dante/fontello.ttf
|
134
|
+
- src/styles/fonts/dante/fontello.woff
|
135
|
+
- src/utils/find_entities.js
|
136
|
+
- src/utils/html2content.js
|
137
|
+
- src/utils/save_content.js
|
138
|
+
- src/utils/selection.js
|
139
|
+
- tools/.eslintrc
|
140
|
+
- tools/amd/README.md
|
141
|
+
- tools/amd/bower.json
|
142
|
+
- tools/amd/build.js
|
143
|
+
- tools/build-cli.js
|
144
|
+
- tools/build.js
|
145
|
+
- tools/buildBabel.js
|
146
|
+
- tools/constants.js
|
147
|
+
- tools/dist/build.js
|
148
|
+
- tools/docs/build.js
|
149
|
+
- tools/es/build.js
|
150
|
+
- tools/exec.js
|
151
|
+
- tools/fs-utils.js
|
152
|
+
- tools/lib/build.js
|
153
|
+
- tools/promisify.js
|
154
|
+
- webpack.config-doc.js
|
114
155
|
- webpack.config.js
|
156
|
+
- webpack/base.config.js
|
157
|
+
- webpack/docs.config.js
|
158
|
+
- webpack/webpack.config.js
|
115
159
|
- yarn.lock
|
116
160
|
homepage: http://michelson.github.io/Dante/
|
117
161
|
licenses: []
|
@@ -119,7 +163,7 @@ metadata: {}
|
|
119
163
|
post_install_message:
|
120
164
|
rdoc_options: []
|
121
165
|
require_paths:
|
122
|
-
-
|
166
|
+
- rb_lib
|
123
167
|
required_ruby_version: !ruby/object:Gem::Requirement
|
124
168
|
requirements:
|
125
169
|
- - ">="
|