Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author neffff

    (@neffff)

    That’s a good catch. An empty diagram gives a syntax error. You should be able to still enter a valid diagram though?

    Here’s a test I ran on the playground instance:

    [video src="https://videos.files.wordpress.com/94c7PW1B/kapture-2025-01-04-at-20.43.42.mp4" /]

    Do you think there should be an exception for empty diagrams? Maybe some placeholder to identify what needs to happen next?

    • This reply was modified 1 year, 4 months ago by neffff.
    • This reply was modified 1 year, 4 months ago by neffff.
    Plugin Author neffff

    (@neffff)

    You should be able to use this by creating a <div class="mermaid">add your mermaid diagram here</div> as custom HTML.

    Plugin Author neffff

    (@neffff)

    Thanks for the review! I wonder what the initial problem was though… It might be the size of mermaid, which is pretty big — I should add the ability to use a CDN soon which will hopefully mitigate that though.

    Plugin Author neffff

    (@neffff)

    The kind people at Learndash granted me a license, but I don’t seem to be able to reproduce the error. Can you give me a set of steps to reproduce?

    FYI, I created a course and looked at the course in both the backend (gutenberg) and front-end(via currently enabled theme) and didn’t see the problem.

    Plugin Author neffff

    (@neffff)

    I’m not familiar with learndash — and it appears to be a paid plugin and unfortunately there is no way to test it. Is there any more information you can provide about testing/errors that you’re seeing? (I would try looking in the developer tools console (firefox/chrome)).

    • This reply was modified 3 years, 4 months ago by neffff. Reason: Added additional information about debugging
Viewing 5 replies - 1 through 5 (of 5 total)