The data-* attributes are new in HTML5. So mark your html to be HTML5.
IntelliJ and bootstrap tags conflicts
-
06-07-2023 - |
Question
My IntelliJ reports wrong attributes on certain tags. For example
<div class="btn btn-default btn-xs pull-right" style="margin-left:10px"
type="button" data-toggle="modal" data-target="#popupSendReportError">
It reports that attributes type, data-toggle and data-target are not valid attributes. Does anyone know if I need to add some schema for the bootstrap or something else?
Thank you
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow