mirror of
https://github.com/langgenius/dify.git
synced 2026-04-23 20:36:14 +08:00
fix(skill): restore auto-pin on edit behavior (VS Code style)
This commit is contained in:
@ -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 () => {
|
||||
|
||||
Reference in New Issue
Block a user