How do you initialize vendor plugins if the containers are ajax loaded ?
For example, in a form loaded by ajax, i have the summernote editor, but it does not initialize, whereas it works fine if this plugins is in a form not called by ajax... :(
( I tried to load directly the vendor javascript but it causes errors ).
The summernote (like all other plugins) should be auto-initialized by the Smarty core - in ajax forms, ajax loaded content - everywhere.
I will check the Summernote plugin - looks like there is an issue because one of recent update (because of latest jQuery or latest Bootstrap - not sure yet).
Vendor plugins issue with ajax
How do you initialize vendor plugins if the containers are ajax loaded ?
For example, in a form loaded by ajax, i have the summernote editor, but it does not initialize, whereas it works fine if this plugins is in a form not called by ajax... :(
( I tried to load directly the vendor javascript but it causes errors ).
Thanks
The summernote (like all other plugins) should be auto-initialized by the Smarty core - in ajax forms, ajax loaded content - everywhere.
I will check the Summernote plugin - looks like there is an issue because one of recent update (because of latest jQuery or latest Bootstrap - not sure yet).
Thanks.