Allow all attributes in wysihtml5 bootstrap editor

I want to add different user attributes to the html view of my bootstrap-wysihtml5 editor. but they are shared by default perserRules.

So, is there a simple perserRule to allow all of my user attributes?

Update

I am currently doing the following:

tags: { "input": { "check_attributes": { "class": "alt", "type": "alt", "fieldvalue": "alt", "fieldname": "alt" } }, "textarea": { "check_attributes": { "class": "alt", "fieldtitle": "alt", "fieldname": "alt" } }, ....} 

in this way. And I need how,

 tags: { "input": { "*":"alt" }, "textarea": { "*":"alt" }, } 

Thanks.

+4
source share
1 answer

This is currently not possible. bootstrap-wysihtml5 does not have this option. You can open a problem to request a new feature.

0
source

Source: https://habr.com/ru/post/1486585/


All Articles