Closed woutermont closed 4 years ago
While working on #162 I noticed prefixes are also not collapsed when Yasgui.Yasqe.defaults.collapsePrefixesOnLoad is set to true.
Yasgui.Yasqe.defaults.collapsePrefixesOnLoad
true
To reproduce:
<div id="yasgui"></div> <script> Yasgui.Yasqe.defaults.collapsePrefixesOnLoad = true; Yasgui.Yasqe.defaults.value = "PREFIX one: <https://example.org/one/>" + "\n" + "PREFIX two: <https://example.org/two/>"; const yasgui = new Yasgui(document.getElementById("yasgui")); //yasgui.getTab().yasqe.collapsePrefixes(); </script>
Only when also uncommenting the per-tab function call, the prefixes are collapsed.
I post this as an issue since I'm not sure where this default should be read.
Thanks for the report, this is now fixed :+1:
While working on #162 I noticed prefixes are also not collapsed when
Yasgui.Yasqe.defaults.collapsePrefixesOnLoad
is set totrue
.To reproduce:
Only when also uncommenting the per-tab function call, the prefixes are collapsed.
I post this as an issue since I'm not sure where this default should be read.