Skip to content
Discussion options

You must be logged in to vote

In addition, if you use third party documentation instead of the official Bootstrap, there is definitely no warranty it is going to work.

See https://getbootstrap.com/docs/5.3/components/tooltips/.

When you do follow the proper documentation and put the script in the right place:

Screen.Recording.2023-07-14.at.01.41.50.mov
---
title: "Quarto Playground"
format: html
include-after-body:
  - text: |
      <script>
        const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]')
        const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl))
      </script>
---

This is a playground for Quarto.

```{=html}

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@mcanouil
Comment options

Answer selected by dense-set
@dense-set
Comment options

@mcanouil
Comment options

@dense-set
Comment options

@mcanouil
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
html Issues with HTML and related web technology (html/css/scss/js)
3 participants