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
I would like to ask whether you have an approach of adding new Handlebars helpers within external plugins?
I have noticed that in order to register some new theme resource you firstly need to deactivate them. So I tried it but without any success because the deactivation was not full. More specifically I have noticed in your helper.ts within the HelperStack class that activate and deactivate methods have same if statement which prevents deactivation at the most abstract level which is within the ResourceStack class.
I suppose that here you should have been invoking the deactivate method of the abstract ResourceStack class. Which leads to the following code
I would like to ask whether you have an approach of adding new Handlebars helpers within external plugins?
I have noticed that in order to register some new theme resource you firstly need to deactivate them. So I tried it but without any success because the deactivation was not full. More specifically I have noticed in your helper.ts within the HelperStack class that activate and deactivate methods have same if statement which prevents deactivation at the most abstract level which is within the ResourceStack class.
I suppose that here you should have been invoking the deactivate method of the abstract ResourceStack class. Which leads to the following code
Please notify me if I'm wrong!
my source:
Although if you have any suggestions of how I could add additional Handlebars helpers through my external plugin it would be great!
Here you can find our Localization plugin.
The text was updated successfully, but these errors were encountered: