diff options
author | Julien Déramond <julien.deramond@orange.com> | 2022-05-27 00:29:08 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-27 00:29:08 +0300 |
commit | 8b85267739e4bee63f13dfa14a94f94926b4fd7a (patch) | |
tree | 4f8d807c01f9d90741887263e21348c016419fed /site/content/docs/5.2/components/modal.md | |
parent | 4a3c004c349ec9b20990c8aa760d12c50c450bbd (diff) |
Fix StackBlitz examples by embedding snippets.js when needed (#36352)
* Fix StackBlitz examples by embedding snippets.js when needed
* Fix Popovers
* Fix tooltips
* Fix Toasts
* Add comment sections
* Fix Alerts
* Indeterminate heckboxes + classes handling
* Nothing to do for links
* Fix modals
* Nothing to do for Offcanvas
* Remove correctly .bd-example
* Add body .p-3 for all StackBlitz examples
Diffstat (limited to 'site/content/docs/5.2/components/modal.md')
-rw-r--r-- | site/content/docs/5.2/components/modal.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/site/content/docs/5.2/components/modal.md b/site/content/docs/5.2/components/modal.md index a2354eb855..4acfe4a751 100644 --- a/site/content/docs/5.2/components/modal.md +++ b/site/content/docs/5.2/components/modal.md @@ -444,7 +444,7 @@ Have a bunch of buttons that all trigger the same modal with slightly different Below is a live demo followed by example HTML and JavaScript. For more information, [read the modal events docs](#events) for details on `relatedTarget`. -{{< example >}} +{{< example js_snippet="true" >}} <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" data-bs-whatever="@mdo">Open modal for @mdo</button> <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" data-bs-whatever="@fat">Open modal for @fat</button> <button type="button" class="btn btn-primary" data-bs-toggle="modal" data-bs-target="#exampleModal" data-bs-whatever="@getbootstrap">Open modal for @getbootstrap</button> |