Method to disable all html tags to not allow users to interact with the html.
Usage
disable_all_tags(ele)
Arguments
ele
html tag element
Value
An htmltools HTML object with appended class = "disabled" and
disabled attributes on all tags.
Examples
# add an href to all a tagsdisable_all_tags(htmltools::tagList(htmltools::a(),htmltools::a()))#> <a class="disabled" disabled></a>#> <a class="disabled" disabled></a>