app/assets/javascripts/wymeditor/validators.js.erb in refinerycms-wymeditor-0.0.1 vs app/assets/javascripts/wymeditor/validators.js.erb in refinerycms-wymeditor-1.0.0
- old
+ new
@@ -336,11 +336,12 @@
"maxlength":/^(\d)+$/,
"2":"name",
"readonly":/^(readonly)$/,
"size":/^(\d)+$/,
"3":"src",
- "type":/^(button|checkbox|file|hidden|image|password|radio|reset|submit|text|tel|search|url|email|datetime|date|month|week|time|datetime-local|number|range|color|placeholder)$/,
- "4":"value"
+ "type":/^(button|checkbox|file|hidden|image|password|radio|reset|submit|text|tel|search|url|email|datetime|date|month|week|time|datetime-local|number|range|color)$/,
+ "4":"value",
+ "5":"placeholder"
},
"inside":"form"
},
"ins":
{