markdown-toolbar 0.0.3 → 0.0.4
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.
data/README.rdoc
CHANGED
|
@@ -18,12 +18,12 @@ Alternatively, you can install it as a plugin.
|
|
|
18
18
|
|
|
19
19
|
Markdown Toolbar requires you to add such lines to your application.js
|
|
20
20
|
|
|
21
|
-
//= require jquery-fieldselection
|
|
22
21
|
//= require markdown-toolbar
|
|
23
22
|
|
|
24
23
|
and to application.css
|
|
24
|
+
|
|
25
25
|
*= require markdown-toolbar
|
|
26
26
|
|
|
27
27
|
Then you can add toolbar to any textarea by adding a class +markdown-toolbar+ to it
|
|
28
28
|
|
|
29
|
-
<%= f.text_area :text, :
|
|
29
|
+
<%= f.text_area :text, :class => "markdown-toolbar" %>
|
metadata
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
name: markdown-toolbar
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
4
|
prerelease:
|
|
5
|
-
version: 0.0.
|
|
5
|
+
version: 0.0.4
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
8
8
|
- Vitaliy Yanchuk
|
|
@@ -10,7 +10,7 @@ autorequire:
|
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
12
|
|
|
13
|
-
date: 2011-
|
|
13
|
+
date: 2011-09-06 00:00:00 +03:00
|
|
14
14
|
default_executable:
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
@@ -80,7 +80,8 @@ files:
|
|
|
80
80
|
- vendor/assets/images/text_strike.png
|
|
81
81
|
- vendor/assets/images/text_underline.png
|
|
82
82
|
- vendor/assets/javascripts/jquery-fieldselection.js
|
|
83
|
-
- vendor/assets/javascripts/markdown-toolbar.
|
|
83
|
+
- vendor/assets/javascripts/markdown-toolbar.js
|
|
84
|
+
- vendor/assets/javascripts/toolbar.coffee
|
|
84
85
|
- vendor/assets/stylesheets/markdown-toolbar.scss.erb
|
|
85
86
|
has_rdoc: true
|
|
86
87
|
homepage: ""
|