Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Update templates and javascript to use the Bootstrap 5 library
Enable module on a project with a Bootstrap 5 theme enabled.
Currently all templates are using markup for bootstrap 3. Update templates to use the Bootstrap 5 markup and also remove any dependencies on jquery from the javascript files. Rewrite the output of background color variables to begin with bg- to match the new bootstrap 5 background color naming conventions.
Issue fork bootstrap_paragraphs-3421672
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
Stockfoot CreditAttribution: Stockfoot at Kanopi Studios commentedI am this to myself to begin work on the issue
Comment #4
Stockfoot CreditAttribution: Stockfoot at Kanopi Studios commentedI have created a merge request - https://git.drupalcode.org/project/bootstrap_paragraphs/-/merge_requests/17
This merge request updates all the templates, the width variable on all the templates, and rewrites the accordion javascript to use Vanilla JS instead of jQuery.
This JS file also now properly targets the new template elements and removes a lot of unused variables from the old jQuery version.
Moving to "Needs Review" and unassigning myself from the issue, thanks!
Comment #5
kerrymick CreditAttribution: kerrymick at Kanopi Studios commentedComment #6
kerrymick CreditAttribution: kerrymick at Kanopi Studios commented