- Added selectedTab prop to EditorBar component to track active tab
- Modified clearContent function to use preprocessor signature when on preprocessor tab
- Added getPreprocessorCode helper function to return appropriate preprocessor template
- Updated ScriptEditor to pass selectedTab to EditorBar
- Updated WorkspaceScriptPicker and PickHubScript type definitions to support preprocessor kind
Fixes#6594
Co-authored-by: windmill-internal-app[bot] <windmill-internal-app[bot]@users.noreply.github.com>