]> BookStack Code Mirror - hacks/commit
feat(mermaid-viewer): Use event system for notifications
authorAlexander Wilms <redacted>
Thu, 26 Jun 2025 21:49:07 +0000 (23:49 +0200)
committerAlexander Wilms <redacted>
Thu, 26 Jun 2025 21:49:07 +0000 (23:49 +0200)
commitc3c836307d49945afd368976176590990b2bb9fe
treeaba6640bf1497bda553ac92638049469a4b2e12e
parent7300a518bd2c8352b2e6f681a9de78ce5a97f823
feat(mermaid-viewer): Use event system for notifications

This commit replaces the custom notification system with the BookStack event system for displaying success and error messages.
If the event system is not available, it falls back to console log.
content/mermaid-viewer/head.html