Why: it adds an extra complexity layer between the wl-function-editor component and the wl-publish-widget which is not necessary.
How: move the logic to wl-function-editor.
Acceptance Criteria:
- wl-function-editor-footer component + tests are gone
- tests are updated


