custom addon with type="button" - Forum | JoomShaper
Solved SP Page Builder

custom addon with type="button"

Asked by Heike Schulz 5 years ago Last activity 5 years ago

Ahoi,

I try to create a custom addon which allows tthe user to translate a textarea automatically via Deepl API. So I tried to integrate a button on its option panel (on the left when you click a addon in frontend editing). The button shall to start this procedere of translating (e. g. with an onclick event). But 'type'=>'button' is not working (in /plugins/sppagebuilder/transtext/addons/transtext/admin.php). Is there an overview on these different types like textarea, media, icon etc.

Accepted answer

Marked as the solution
Log in to reply.