Related docs
Affects any post-BS5 upgrade version, but most importantly, the current v2.10 documentation.
Issue noted
Specifically, the section that mentions how the BS5 alerts can be used.
Currently it says that using the inline element of style="alert" will work. In fact, all of these examples should use class instead, i.e.
Recommended fix
The examples should be as follows:
<div class="alert alert-primary">This alert uses your theme's primary color</div>
<div class="alert alert-secondary">This alert uses your theme's secondary color</div>
<div class="alert alert-success">This is a Success alert</div>
<div class="alert alert-info">This is an Info alert</div>
<div class="alert alert-warning">This is a Warning alert</div>
<div class="alert alert-danger">This is a Danger alert</div>
I wanted to include an updated screenshot of the results for you on this issue as well, but have since discovered that attempting to update a static page with any HTML content results in a 403 Forbidden error. I have confirmed that the above works on a client test site, but because they havea custom theme, the display of the alert-primary and alert-secondary colors are different than what would display in a default installation, and should therefore not be used for the public docs.
Related docs
Affects any post-BS5 upgrade version, but most importantly, the current v2.10 documentation.
Issue noted
Specifically, the section that mentions how the BS5 alerts can be used.
Currently it says that using the inline element of
style="alert"will work. In fact, all of these examples should useclassinstead, i.e.Recommended fix
The examples should be as follows:
I wanted to include an updated screenshot of the results for you on this issue as well, but have since discovered that attempting to update a static page with any HTML content results in a 403 Forbidden error. I have confirmed that the above works on a client test site, but because they havea custom theme, the display of the
alert-primaryandalert-secondarycolors are different than what would display in a default installation, and should therefore not be used for the public docs.