wysihtml5x-rails 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +18 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +78 -0
- data/Rakefile +1 -0
- data/lib/wysihtml5x/rails/version.rb +5 -0
- data/lib/wysihtml5x/rails.rb +9 -0
- data/vendor/assets/javascripts/parser_rules/advanced.js +553 -0
- data/vendor/assets/javascripts/parser_rules/advanced_unwrap.js +649 -0
- data/vendor/assets/javascripts/parser_rules/simple.js +32 -0
- data/vendor/assets/javascripts/wysihtml5x-toolbar.js +8936 -0
- data/vendor/assets/javascripts/wysihtml5x.js +8245 -0
- data/vendor/assets/stylesheets/wysihtml5x.css +133 -0
- data/wysihtml5x-rails.gemspec +25 -0
- metadata +101 -0
@@ -0,0 +1,133 @@
|
|
1
|
+
.wysiwyg-font-size-smaller {
|
2
|
+
font-size: smaller;
|
3
|
+
}
|
4
|
+
|
5
|
+
.wysiwyg-font-size-larger {
|
6
|
+
font-size: larger;
|
7
|
+
}
|
8
|
+
|
9
|
+
.wysiwyg-font-size-xx-large {
|
10
|
+
font-size: xx-large;
|
11
|
+
}
|
12
|
+
|
13
|
+
.wysiwyg-font-size-x-large {
|
14
|
+
font-size: x-large;
|
15
|
+
}
|
16
|
+
|
17
|
+
.wysiwyg-font-size-large {
|
18
|
+
font-size: large;
|
19
|
+
}
|
20
|
+
|
21
|
+
.wysiwyg-font-size-medium {
|
22
|
+
font-size: medium;
|
23
|
+
}
|
24
|
+
|
25
|
+
.wysiwyg-font-size-small {
|
26
|
+
font-size: small;
|
27
|
+
}
|
28
|
+
|
29
|
+
.wysiwyg-font-size-x-small {
|
30
|
+
font-size: x-small;
|
31
|
+
}
|
32
|
+
|
33
|
+
.wysiwyg-font-size-xx-small {
|
34
|
+
font-size: xx-small;
|
35
|
+
}
|
36
|
+
|
37
|
+
.wysiwyg-color-black {
|
38
|
+
color: black;
|
39
|
+
}
|
40
|
+
|
41
|
+
.wysiwyg-color-silver {
|
42
|
+
color: silver;
|
43
|
+
}
|
44
|
+
|
45
|
+
.wysiwyg-color-gray {
|
46
|
+
color: gray;
|
47
|
+
}
|
48
|
+
|
49
|
+
.wysiwyg-color-white {
|
50
|
+
color: white;
|
51
|
+
}
|
52
|
+
|
53
|
+
.wysiwyg-color-maroon {
|
54
|
+
color: maroon;
|
55
|
+
}
|
56
|
+
|
57
|
+
.wysiwyg-color-red {
|
58
|
+
color: red;
|
59
|
+
}
|
60
|
+
|
61
|
+
.wysiwyg-color-purple {
|
62
|
+
color: purple;
|
63
|
+
}
|
64
|
+
|
65
|
+
.wysiwyg-color-fuchsia {
|
66
|
+
color: fuchsia;
|
67
|
+
}
|
68
|
+
|
69
|
+
.wysiwyg-color-green {
|
70
|
+
color: green;
|
71
|
+
}
|
72
|
+
|
73
|
+
.wysiwyg-color-lime {
|
74
|
+
color: lime;
|
75
|
+
}
|
76
|
+
|
77
|
+
.wysiwyg-color-olive {
|
78
|
+
color: olive;
|
79
|
+
}
|
80
|
+
|
81
|
+
.wysiwyg-color-yellow {
|
82
|
+
color: yellow;
|
83
|
+
}
|
84
|
+
|
85
|
+
.wysiwyg-color-navy {
|
86
|
+
color: navy;
|
87
|
+
}
|
88
|
+
|
89
|
+
.wysiwyg-color-blue {
|
90
|
+
color: blue;
|
91
|
+
}
|
92
|
+
|
93
|
+
.wysiwyg-color-teal {
|
94
|
+
color: teal;
|
95
|
+
}
|
96
|
+
|
97
|
+
.wysiwyg-color-aqua {
|
98
|
+
color: aqua;
|
99
|
+
}
|
100
|
+
|
101
|
+
.wysiwyg-text-align-right {
|
102
|
+
text-align: right;
|
103
|
+
}
|
104
|
+
|
105
|
+
.wysiwyg-text-align-center {
|
106
|
+
text-align: center;
|
107
|
+
}
|
108
|
+
|
109
|
+
.wysiwyg-text-align-left {
|
110
|
+
text-align: left;
|
111
|
+
}
|
112
|
+
|
113
|
+
.wysiwyg-text-align-justify {
|
114
|
+
text-align: justify;
|
115
|
+
}
|
116
|
+
|
117
|
+
.wysiwyg-float-left {
|
118
|
+
float: left;
|
119
|
+
margin: 0 8px 8px 0;
|
120
|
+
}
|
121
|
+
|
122
|
+
.wysiwyg-float-right {
|
123
|
+
float: right;
|
124
|
+
margin: 0 0 8px 8px;
|
125
|
+
}
|
126
|
+
|
127
|
+
.wysiwyg-clear-right {
|
128
|
+
clear: right;
|
129
|
+
}
|
130
|
+
|
131
|
+
.wysiwyg-clear-left {
|
132
|
+
clear: left;
|
133
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
lib = File.expand_path('../lib', __FILE__)
|
3
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
+
require 'wysihtml5x/rails/version'
|
5
|
+
|
6
|
+
Gem::Specification.new do |spec|
|
7
|
+
spec.name = "wysihtml5x-rails"
|
8
|
+
spec.version = Wysihtml5x::Rails::VERSION
|
9
|
+
spec.authors = ["Tanel Jakobsoo"]
|
10
|
+
spec.email = ["tanel@fraktal.ee"]
|
11
|
+
spec.description = %q{A wysiwyg5x text editor for Rails assets pipeline}
|
12
|
+
spec.summary = %q{Wysihtml5x (http://edicy.github.io/wysihtml5) text editor for Rails assets pipeline.}
|
13
|
+
spec.homepage = "https://github.com/Edicy/wysihtml5x-rails"
|
14
|
+
spec.license = "MIT"
|
15
|
+
|
16
|
+
spec.files = `git ls-files`.split($/)
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
|
+
spec.require_paths = ["lib"]
|
20
|
+
|
21
|
+
spec.add_dependency "railties", ">= 3.1.0"
|
22
|
+
|
23
|
+
spec.add_development_dependency "bundler", "~> 1.3"
|
24
|
+
spec.add_development_dependency "rake"
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,101 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: wysihtml5x-rails
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.4.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Tanel Jakobsoo
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2013-12-13 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: railties
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 3.1.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 3.1.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.3'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ~>
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.3'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - '>='
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - '>='
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
description: A wysiwyg5x text editor for Rails assets pipeline
|
56
|
+
email:
|
57
|
+
- tanel@fraktal.ee
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- .gitignore
|
63
|
+
- Gemfile
|
64
|
+
- LICENSE.txt
|
65
|
+
- README.md
|
66
|
+
- Rakefile
|
67
|
+
- lib/wysihtml5x/rails.rb
|
68
|
+
- lib/wysihtml5x/rails/version.rb
|
69
|
+
- vendor/assets/javascripts/parser_rules/advanced.js
|
70
|
+
- vendor/assets/javascripts/parser_rules/advanced_unwrap.js
|
71
|
+
- vendor/assets/javascripts/parser_rules/simple.js
|
72
|
+
- vendor/assets/javascripts/wysihtml5x-toolbar.js
|
73
|
+
- vendor/assets/javascripts/wysihtml5x.js
|
74
|
+
- vendor/assets/stylesheets/wysihtml5x.css
|
75
|
+
- wysihtml5x-rails.gemspec
|
76
|
+
homepage: https://github.com/Edicy/wysihtml5x-rails
|
77
|
+
licenses:
|
78
|
+
- MIT
|
79
|
+
metadata: {}
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - '>='
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
requirements: []
|
95
|
+
rubyforge_project:
|
96
|
+
rubygems_version: 2.0.3
|
97
|
+
signing_key:
|
98
|
+
specification_version: 4
|
99
|
+
summary: Wysihtml5x (http://edicy.github.io/wysihtml5) text editor for Rails assets
|
100
|
+
pipeline.
|
101
|
+
test_files: []
|