fix(skill): restore auto-pin on edit behavior (VS Code style)

This commit is contained in:
yyh
2026-01-16 11:26:13 +08:00
parent f1ce933b33
commit c7bca6a3fb

View File

@@ -69,6 +69,7 @@ const SkillDocEditor: FC = () => {
if (!activeTabId || !isEditable)
return
storeApi.getState().setDraftContent(activeTabId, value ?? '')
storeApi.getState().pinTab(activeTabId)
}, [activeTabId, isEditable, storeApi])
const handleSave = useCallback(async () => {