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
Hi, I've made a pagepart that uses some JS in the admin form to show / hide fields and also to run a select2 selector on one of the fields. My problem now is in having an event to hook up some init code when a new pagepart is created.
Would it be possible for _pagepart_editor.js to emit an event when a new pagepart is created containing some metadata (pagepart class for example) that external scripts could listen to?
The text was updated successfully, but these errors were encountered:
Hi, I've made a pagepart that uses some JS in the admin form to show / hide fields and also to run a select2 selector on one of the fields. My problem now is in having an event to hook up some init code when a new pagepart is created.
Would it be possible for _pagepart_editor.js to emit an event when a new pagepart is created containing some metadata (pagepart class for example) that external scripts could listen to?
The text was updated successfully, but these errors were encountered: