Merge branch 'feature/handlebars-helpers-update' of github.com:Budibase/budibase into feature/handlebars-helpers-update
This commit is contained in:
commit
016cabdf9e
|
@ -83,6 +83,7 @@
|
||||||
<div class="binding__description">
|
<div class="binding__description">
|
||||||
{@html helper.description || ''}
|
{@html helper.description || ''}
|
||||||
</div>
|
</div>
|
||||||
|
<pre>{helper.example || ''}</pre>
|
||||||
</div>
|
</div>
|
||||||
{/each}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -103,6 +103,7 @@
|
||||||
<div class="description">
|
<div class="description">
|
||||||
{@html helper.description}
|
{@html helper.description}
|
||||||
</div>
|
</div>
|
||||||
|
<pre>{helper.example || ''}</pre>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
{/each}
|
{/each}
|
||||||
|
|
|
@ -7,6 +7,7 @@ export function handlebarsCompletions() {
|
||||||
Object.entries(manifest[key]).map(([helperName, helperConfig]) => ({
|
Object.entries(manifest[key]).map(([helperName, helperConfig]) => ({
|
||||||
text: helperName,
|
text: helperName,
|
||||||
path: helperName,
|
path: helperName,
|
||||||
|
example: helperConfig.example,
|
||||||
label: helperName,
|
label: helperName,
|
||||||
displayText: helperName,
|
displayText: helperName,
|
||||||
description: helperConfig.description,
|
description: helperConfig.description,
|
||||||
|
|
Loading…
Reference in New Issue