You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to apply framework to specific part of the application. However it adds classes to all entities within page body.
$('.use-bmd').bootstrapMaterialDesign({});
<!-- apply bootstrap material design to next div --><divclass="container use-bmd"><h3>Floating label <iclass="material-icons">face</i></h3><divclass="form-group bmd-form-group"><labelfor="exampleInputEmail1" class="bmd-label-floating">Email address</label><inputtype="email" class="form-control" id="exampleInputEmail1"><spanclass="bmd-help">We'll never share your email with anyone else.</span></div></div><!-- keep next div not modified --><divclass="container keep-vanilla"><h3>Bootstrap vanilla</h3><divclass="form-group bmd-form-group"><labelfor="exampleInputEmail1" class="bmd-label-static">Email address</label><inputtype="email" class="form-control" id="exampleInputEmail1"><spanclass="form-text">We'll never share your email with anyone else.</span></div></div>
Expected result
I would expect HTML inside .keep-vanilla untouched
<!-- apply bootstrap material design to next div --><divclass="container use-bmd"><h3>Floating label <iclass="material-icons">face</i></h3><divclass="form-group bmd-form-group"><labelfor="exampleInputEmail1" class="bmd-label-floating">Email address</label><inputtype="email" class="form-control" id="exampleInputEmail1"><spanclass="bmd-help">We'll never share your email with anyone else.</span></div></div><!-- keep next div not modified --><divclass="container keep-vanilla"><h3>Bootstrap vanilla</h3><divclass="form-group"><labelfor="exampleInputEmail1">Email address</label><inputtype="email" class="form-control" id="exampleInputEmail1"><spanclass="form-text">We'll never share your email with anyone else.</span></div></div>
Additional Information
It would also be great to have some ignore classes or data attributes. Like:
<!-- please don't add bmd-form-group and everything to next div --><divclass="bmd-ignore" data-bmd-ignore>
...
</div>
The text was updated successfully, but these errors were encountered:
Test Case
https://codepen.io/ybelenko/pen/VwKgwPw
Summary
I try to apply framework to specific part of the application. However it adds classes to all entities within page body.
Expected result
I would expect HTML inside
.keep-vanilla
untouchedAdditional Information
It would also be great to have some ignore classes or data attributes. Like:
The text was updated successfully, but these errors were encountered: