Improve approach to mermaid library

Created on 13 February 2023, almost 2 years ago
Updated 10 October 2023, about 1 year ago

Problem/Motivation

Requires installation of https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js into site libraries/mermaid directory. Would like to automate this in the future or allow choice between local or CDN (Webform has a nice example of this). At minimum we still need to detect if this library is present.
Currently libraries is specifying the cdn source.

Ideally we should look into adding this as a requirement to the modules composer.json so that composer install will bring the file in and put it in the libraries/mermaid directory.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States swirt Florida

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024