I want to add different custom attributes into the html view of my bootstrap-wysihtml5 editor. but they are stripped by default perserRules.
So is there any simple perserRule to allow all my custom attributes?
Update
What I am currently doing is:
tags: {
"input": {
"check_attributes": {
"class": "alt",
"type": "alt",
"fieldvalue": "alt",
"fieldname": "alt"
}
},
"textarea": {
"check_attributes": {
"class": "alt",
"fieldtitle": "alt",
"fieldname": "alt"
}
},
....}
like this way. And what I need is like,
tags: {
"input": {
"*":"alt"
},
"textarea": {
"*":"alt"
},
}
Thanks.