Disable graph view on edit page
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
e2f3656474
commit
643ec5e98c
|
@ -36,9 +36,9 @@ mermaid.initialize({startOnLoad: true})
|
||||||
PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-mermaid')
|
PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-mermaid')
|
||||||
PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-dot')
|
PrismJS.plugins.filterHighlightAll.reject.addSelector('.language-dot')
|
||||||
|
|
||||||
$(function () {
|
// $(function () {
|
||||||
wikiGraph('.graph-network')
|
// wikiGraph('.graph-network')
|
||||||
})
|
// })
|
||||||
|
|
||||||
function isMultiline(input) {
|
function isMultiline(input) {
|
||||||
return input.value.startsWith("```", 0)
|
return input.value.startsWith("```", 0)
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="column">
|
<div class="column is-hidden graph-view">
|
||||||
{{ if .ShowGraph }}
|
{{ if .ShowGraph }}
|
||||||
<div class="graph-network" data-name="{{ .Name }}" style="height:80vh; top:0; position: sticky"></div>
|
<div class="graph-network" data-name="{{ .Name }}" style="height:80vh; top:0; position: sticky"></div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user