Skip to content

Commit ee97264

Browse files
author
Oliver Pulges
committed
Update version to 0.4.6
1 parent 5783d54 commit ee97264

File tree

4 files changed

+428
-214
lines changed

4 files changed

+428
-214
lines changed

lib/wysihtml5x/rails/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module Wysihtml5x
22
module Rails
3-
VERSION = "0.4.5"
3+
VERSION = "0.4.6"
44
end
55
end

vendor/assets/javascripts/parser_rules/advanced_unwrap.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,12 @@ var wysihtml5ParserRules = {
7777

7878

7979
"type_definitions": {
80+
81+
"visible_content_object": {
82+
"methods": {
83+
"has_visible_contet": 1
84+
}
85+
},
8086

8187
"alignment_object": {
8288
"classes": {
@@ -344,7 +350,7 @@ var wysihtml5ParserRules = {
344350

345351
"div": {
346352
"one_of_type": {
347-
"alignment_object": 1,
353+
"visible_content_object": 1,
348354
},
349355
"remove_action": "unwrap",
350356
"keep_styles": {

0 commit comments

Comments
 (0)