tkh_inline_editor 0.0.1.4 → 0.0.2.1

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.
@@ -2,6 +2,11 @@
2
2
 
3
3
 
4
4
 
5
+ ## 0.0.2.1
6
+
7
+ * Customized the toolbar
8
+
9
+
5
10
  ## 0.0.1
6
11
 
7
12
  * Initial release
@@ -10,21 +10,25 @@
10
10
  "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='div'>Normal text</a></li>" +
11
11
  "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h1'>Heading 1</a></li>" +
12
12
  "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h2'>Heading 2</a></li>" +
13
+ "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h3'>Heading 3</a></li>" +
14
+ "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h4'>Heading 4</a></li>" +
15
+ "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='h5'>Heading 5</a></li>" +
16
+ "<li><a data-wysihtml5-command='formatBlock' data-wysihtml5-command-value='blockquote'>Blockquote</a></li>" +
13
17
  "</ul>" +
14
18
  "</li>",
15
19
  "emphasis": "<li>" +
16
20
  "<div class='btn-group'>" +
17
21
  "<a class='btn' data-wysihtml5-command='bold' title='CTRL+B'>Bold</a>" +
18
22
  "<a class='btn' data-wysihtml5-command='italic' title='CTRL+I'>Italic</a>" +
19
- "<a class='btn' data-wysihtml5-command='underline' title='CTRL+U'>Underline</a>" +
23
+ // "<a class='btn' data-wysihtml5-command='underline' title='CTRL+U'>Underline</a>" +
20
24
  "</div>" +
21
25
  "</li>",
22
26
  "lists": "<li>" +
23
27
  "<div class='btn-group'>" +
24
28
  "<a class='btn' data-wysihtml5-command='insertUnorderedList' title='Unordered List'><i class='icon-list'></i></a>" +
25
29
  "<a class='btn' data-wysihtml5-command='insertOrderedList' title='Ordered List'><i class='icon-th-list'></i></a>" +
26
- "<a class='btn' data-wysihtml5-command='Outdent' title='Outdent'><i class='icon-indent-right'></i></a>" +
27
- "<a class='btn' data-wysihtml5-command='Indent' title='Indent'><i class='icon-indent-left'></i></a>" +
30
+ // "<a class='btn' data-wysihtml5-command='Outdent' title='Outdent'><i class='icon-indent-right'></i></a>" +
31
+ // "<a class='btn' data-wysihtml5-command='Indent' title='Indent'><i class='icon-indent-left'></i></a>" +
28
32
  "</div>" +
29
33
  "</li>",
30
34
  "link": "<li>" +
@@ -72,7 +76,7 @@
72
76
  "font-styles": true,
73
77
  "emphasis": true,
74
78
  "lists": true,
75
- "html": false,
79
+ "html": true,
76
80
  "link": true,
77
81
  "image": true,
78
82
  events: {},
@@ -86,6 +90,9 @@
86
90
  "li": {},
87
91
  "h1": {},
88
92
  "h2": {},
93
+ "h3": {},
94
+ "h4": {},
95
+ "h5": {},
89
96
  "blockquote": {},
90
97
  "u": 1,
91
98
  "img": {
@@ -1,5 +1,4 @@
1
1
  require "rails"
2
- require "tkh_inline_editor"
3
2
  require "tkh_inline_editor/version"
4
3
 
5
4
  module TkhInlineEditor
@@ -1,3 +1,3 @@
1
1
  module TkhInlineEditor
2
- VERSION = "0.0.1.4"
2
+ VERSION = "0.0.2.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tkh_inline_editor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1.4
4
+ version: 0.0.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -91,7 +91,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  segments:
93
93
  - 0
94
- hash: -3524955013386594440
94
+ hash: 4286593392030713279
95
95
  required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  none: false
97
97
  requirements:
@@ -100,7 +100,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
100
100
  version: '0'
101
101
  segments:
102
102
  - 0
103
- hash: -3524955013386594440
103
+ hash: 4286593392030713279
104
104
  requirements: []
105
105
  rubyforge_project:
106
106
  rubygems_version: 1.8.23