Skip to content

Commit

Permalink
Merge pull request refinery#1871 from kandadaboggu/patch-2
Browse files Browse the repository at this point in the history
Added 'placeholder' attribute to the 'input' tag
  • Loading branch information
parndt committed Aug 10, 2012
2 parents ef5ca65 + f1f7c2a commit dd78919
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions core/app/assets/javascripts/wymeditor/validators.js.erb
Expand Up @@ -338,8 +338,9 @@ WYMeditor.XhtmlValidator = {
"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"
},
Expand Down

0 comments on commit dd78919

Please sign in to comment.