diff --git a/app/views/editor/rich.html.erb b/app/views/editor/rich.html.erb new file mode 100644 index 0000000000..c03e1a5806 --- /dev/null +++ b/app/views/editor/rich.html.erb @@ -0,0 +1,176 @@ + + + + + + + + + +
+ +
+ +

Share

+ + +
+ +
+
+
+ +
+
+ + +
+
+
+ +
+ + +
+ +
+ + + +
+ +
+

1

+
+ +
+ +
+ +
+ + + + +
+ +
+

2

+
+ +
+
+ Drag an image here to upload. +
+
+ +

+

Select an optional main image for your post.

+ +
+
+ +
+ + + + +
+ +
+

3

+
+ +
+ +
+ +
+ + + + +
+ +
+

4

+
+ +
+ +
+ +
+ + + +
+ + + +
+ + + diff --git a/bower.json b/bower.json index 878c3148a4..6597b97dee 100644 --- a/bower.json +++ b/bower.json @@ -15,6 +15,10 @@ "flot": "~0.7", "leaflet": "0.7.3", "moment": "~2.10.6", - "junction": "theleagueof/junction" + "junction": "theleagueof/junction", + "publiclab-editor": "~0.0.1", + "woofmark": "4.1.0", + "horsey": "3.0.0", + "bootstrap-tokenfield": "~0.12.0" } } diff --git a/config/routes.rb b/config/routes.rb index 783680c9ed..67db7a0da5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -194,6 +194,7 @@ # This route can be invoked with purchase_url(:id => product.id) match 'post' => 'editor#post' + match 'editor' => 'editor#rich' match 'images/create' => 'images#create' match 'note/add' => 'legacy#note_add' match 'page/add' => 'legacy#page_add'