@suluk/panel - v0.3.1
    Preparing search index...

    Function mediaScript

    • Client init for every [data-media]: live preview on URL change + (if window.__pfUpload is set) upload on file pick. Without an endpoint the Upload button hides and it's URL-only. Include once per page that has media fields.

      Returns string