You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the best strategy to use a custom voila template? Is it by setting voila_configuration.allow_template_override to False and forcing the wanted template?
Comment
The behaviour of the notebook toolbar button and the editor toolbar button is slightly different (the editor set the template but not the notebook):
We need to remove the one from the notebook since voila-preview also adds this button (there is an issue #84).
Maybe we can change the icon and use this button to open voila with a gridstack template like the one on the editor's toolbar.
What is the best strategy to use a custom voila template? Is it by setting voila_configuration.allow_template_override to False and forcing the wanted template?
We can open voila with a specific template by adding ?voila-template=gridstack at the url.
Sorry the question was lacking clarity. In my company, we need to add branding to the template (like so many others). So forcing default gridstack template is not acceptable. For now the configuration is done on the server side to force the company's template.
What is the best strategy to use a custom voila template? Is it by setting
voila_configuration.allow_template_override
to False and forcing the wanted template?Comment
The behaviour of the notebook toolbar button and the editor toolbar button is slightly different (the editor set the template but not the notebook):
voila-gridstack/packages/jupyterlab-gridstack/src/editor/components/notebookButtons.ts
Line 67 in 0d729c9
voila-gridstack/packages/jupyterlab-gridstack/src/editor/toolbar/voila.tsx
Lines 19 to 21 in 0d729c9
The text was updated successfully, but these errors were encountered: