grav-plugin-diagrams
grav-plugin-diagrams copied to clipboard
Diagram not displaying
I installed via the admin plugin, wrote this out;
[flow] st=>start: start e=>end: finished op1=>operation: login to auth|success sub1=>subroutine: register Your e-mail|success cond=>condition: email registered?|invalid io=>inputoutput: continue to dashboard|calm st->op1->cond cond(yes)->io->e cond(no)->sub1(right)->op1 [/flow]
And it just displays it as text... am I missing somthing?
Hi @StarSyth ! Is only flow diagrams which are not working? There are several open issues related to this kind of behavior, I'm investigating the cause. Which theme and page template do you use?
Hydrogen v5.4.23 with Gantry 5 and using the default template. None of the diagrams work.
Same issue with TwentyFifteen and default page.
I had the same problem, my template was not using jQuery and this plugin relies on it (check your console for related JavaScript errors).
Adding the dependency solved the issue:
<script
src="https://code.jquery.com/jquery-3.3.1.min.js"
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
crossorigin="anonymous"></script>