bootstrap-wysiwyg-rails 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -1,24 +1,38 @@
|
|
1
1
|
# Bootstrap::Wysiwyg
|
2
2
|
|
3
|
-
|
3
|
+
[Bootstrap-wysihtml5][bootstrap-wysiwyg] is a javascript plugin that makes it easy to create simple, beautiful wysiwyg editors with the help of [wysihtml5][wysihtml5] and [Twitter Bootstrap][twitter-bootstrap].
|
4
|
+
|
5
|
+
[bootstrap-wysiwyg]: https://github.com/jhollingworth/bootstrap-wysihtml5
|
6
|
+
[wysihtml5]: https://github.com/xing/wysihtml5
|
7
|
+
[twitter-bootstrap]: http://twitter.github.com/bootstrap
|
4
8
|
|
5
9
|
## Installation
|
6
10
|
|
7
11
|
Add this line to your application's Gemfile:
|
8
12
|
|
9
|
-
gem 'bootstrap-wysiwyg'
|
13
|
+
gem 'bootstrap-wysiwyg-rails'
|
10
14
|
|
11
15
|
And then execute:
|
12
16
|
|
13
|
-
$ bundle
|
17
|
+
$ bundle install
|
18
|
+
|
19
|
+
Be sure to have all dependencies in your project. They include
|
14
20
|
|
15
|
-
|
21
|
+
jquery
|
22
|
+
twitter-bootstrap
|
23
|
+
jquery.hotkeys
|
16
24
|
|
17
|
-
|
25
|
+
They where not included in gem dependencies because you already may have them in your assets somehow.
|
18
26
|
|
19
27
|
## Usage
|
20
28
|
|
21
|
-
|
29
|
+
Require bootstrap-wysiwyg in your app/assets/application.js file
|
30
|
+
|
31
|
+
//= require bootstrap-wysiwyg
|
32
|
+
|
33
|
+
Initialize it on element
|
34
|
+
|
35
|
+
$('#editor').wysiwyg()
|
22
36
|
|
23
37
|
## Contributing
|
24
38
|
|
File without changes
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-wysiwyg-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -106,7 +106,7 @@ files:
|
|
106
106
|
- bootstrap-wysiwyg.gemspec
|
107
107
|
- lib/bootstrap/wysiwyg.rb
|
108
108
|
- lib/bootstrap/wysiwyg/version.rb
|
109
|
-
- vendor/javascripts/bootstrap-wysiwyg.js
|
109
|
+
- vendor/assets/javascripts/bootstrap-wysiwyg.js
|
110
110
|
homepage: ''
|
111
111
|
licenses:
|
112
112
|
- MIT
|
@@ -121,7 +121,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
121
121
|
segments:
|
122
122
|
- 0
|
123
123
|
version: '0'
|
124
|
-
hash: -
|
124
|
+
hash: -723922991753999381
|
125
125
|
none: false
|
126
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
@@ -130,7 +130,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
130
130
|
segments:
|
131
131
|
- 0
|
132
132
|
version: '0'
|
133
|
-
hash: -
|
133
|
+
hash: -723922991753999381
|
134
134
|
none: false
|
135
135
|
requirements: []
|
136
136
|
rubyforge_project:
|