2013-06-17 1 views
4

내 bootstrap-wysihtml5 편집기의 html보기에 다른 사용자 정의 속성을 추가하고 싶습니다. 그러나 그들은 디폴트 perserRules에 의해 제거됩니다.부트 스트랩 wysihtml5 편집기의 모든 속성 허용

모든 사용자 정의 속성을 허용하는 간단한 perserRule이 있습니까?

업데이트

내가 현재하고있는 중이 야 것은이 방법은 같은

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

. 내가 원하는 것은 다음과 같습니다.

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

감사합니다.

+0

이것은? https://github.com/jhollingworth/bootstrap-wysihtml5/ – Zlatan

답변

0

현재 불가능합니다. bootstrap-wysihtml5에는 해당 옵션이 없습니다. open an issue으로 새로운 기능을 요청할 수 있습니다.