Documentation
¶
Overview ¶
Package editor serves the workflow editor — the same Vue app as flowadmin's /editor — as a nodeadmin section selected through ?controller=editor. The index page and its app script are the flowadmin embedded copies, rewritten at serve time so the editor's API calls land on this package's own /api mount.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Editor ¶
func Editor(w http.ResponseWriter, r *http.Request)
Editor serves the editor page or one of its assets. action=appjs serves the editor application script; anything else serves the index document. The NodeAdminURL context value supplies the API base so every fetch targets <endpoint>/api/*.
Types ¶
This section is empty.