vendor/assets/javascripts/parser_rules/advanced_unwrap.js in wysihtml5x-rails-0.4.5 vs vendor/assets/javascripts/parser_rules/advanced_unwrap.js in wysihtml5x-rails-0.4.6
- old
+ new
@@ -75,10 +75,16 @@
"wysiwyg-text-align-right": 1
},
"type_definitions": {
+
+ "visible_content_object": {
+ "methods": {
+ "has_visible_contet": 1
+ }
+ },
"alignment_object": {
"classes": {
"wysiwyg-text-align-center": 1,
"wysiwyg-text-align-justify": 1,
@@ -342,10 +348,10 @@
"remove": 1
},
"div": {
"one_of_type": {
- "alignment_object": 1,
+ "visible_content_object": 1,
},
"remove_action": "unwrap",
"keep_styles": {
"textAlign": 1,
"float": 1
\ No newline at end of file