gui/components/ManageBlockEditor

The block (generator) editor for the Manage tab. Edits a .dpl generator's contents, name, and description, with NSFW gating, plus full JS-sidecar support: if a .js sidecar exists it offers a DPL ⇄ JS tab switch; if not, a one-click "Create JS sidecar" scaffolds one from boilerplate. Saving writes the files and hot-applies (onChanged refreshes the catalog) — except that an edited JS module body only takes effect on reload (running fetched JS would need eval), which the JS tab flags. The .dpl and everything else apply live.

Description:
  • The block (generator) editor for the Manage tab. Edits a .dpl generator's contents, name, and description, with NSFW gating, plus full JS-sidecar support: if a .js sidecar exists it offers a DPL ⇄ JS tab switch; if not, a one-click "Create JS sidecar" scaffolds one from boilerplate. Saving writes the files and hot-applies (onChanged refreshes the catalog) — except that an edited JS module body only takes effect on reload (running fetched JS would need eval), which the JS tab flags. The .dpl and everything else apply live.

Source: