Improve approach to mermaid library

Created on 13 February 2023, over 1 year ago
Updated 10 October 2023, 9 months 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.69.0 2024