wysihtml5x-rails 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/wysihtml5x/rails/version.rb +1 -1
- data/vendor/assets/javascripts/parser_rules/advanced_unwrap.js +5 -2
- data/vendor/assets/javascripts/wysihtml5x-toolbar.js +1267 -1115
- data/vendor/assets/javascripts/wysihtml5x.js +1208 -1060
- metadata +12 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9424f54d0115eae293ef07ac71d6f548c36dfb00
|
4
|
+
data.tar.gz: 7eea79e6d54c46e0cf9eecc395dad8bb44cfa8bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69c08bcac2de3d424ff0adc0aeb59ba7cfa04ccd6639ce86e584eb52c30b3affd8a5edd83709a4e75534471665bf573cbae65e66d1b25691098cfeaa2f149a54
|
7
|
+
data.tar.gz: 2bee77db9729c1b9cb6191281b1b0ca0bfba2d93d77b6005cfa5165f0a53329c010de56851bf227cf78411e459ae6f22330c47bc587eefff3f7d2e052f992692
|
@@ -171,6 +171,7 @@ var wysihtml5ParserRules = {
|
|
171
171
|
* - href: allows something like "mailto:bert@foo.com", "http://google.com", "/foobar.jpg"
|
172
172
|
* - alt: strips unwanted characters. if the attribute is not set, then it gets set (to ensure valid and compatible HTML)
|
173
173
|
* - numbers: ensures that the attribute only contains numeric characters
|
174
|
+
* - any: allows anything to pass
|
174
175
|
*/
|
175
176
|
"tags": {
|
176
177
|
"tr": {
|
@@ -323,7 +324,9 @@ var wysihtml5ParserRules = {
|
|
323
324
|
"td": {
|
324
325
|
"check_attributes": {
|
325
326
|
"rowspan": "numbers",
|
326
|
-
"colspan": "numbers"
|
327
|
+
"colspan": "numbers",
|
328
|
+
"valign": "any",
|
329
|
+
"align": "any"
|
327
330
|
},
|
328
331
|
"add_class": {
|
329
332
|
"align": "align_text"
|
@@ -646,4 +649,4 @@ var wysihtml5ParserRules = {
|
|
646
649
|
"rename_tag": "div"
|
647
650
|
}
|
648
651
|
}
|
649
|
-
};
|
652
|
+
};
|