4

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.

sovan
  • 479
  • 6
  • 21

1 Answers1

0

It's currently impossible. bootstrap-wysihtml5 doesn't have that option. You can open an issue to request new feature.