dify/web/app/components/workflow/skill
yyh 7022e4b9ca
fix(skill): add key prop to editors to fix content sync on tab switch
Lexical editor only uses initialConfig.editorState on mount, ignoring
subsequent value prop changes when the component is reused by React.
Adding key={activeTabId} forces React to remount editors when switching
tabs, ensuring correct content is displayed.
2026-01-16 13:51:50 +08:00
..
editor chore: tool format and render problem 2026-01-16 13:50:20 +08:00
file-tree refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
hooks refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
store refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
utils feat(skill-editor): enhance + button with full operations and smart target folder 2026-01-15 16:10:01 +08:00
editor-area.tsx fix: css 2026-01-15 16:14:51 +08:00
editor-body.tsx fix: css 2026-01-15 16:14:51 +08:00
editor-tab-item.tsx feat(skill): implement VS Code-style preview/pinned tab management 2026-01-16 11:20:49 +08:00
editor-tabs.tsx refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
main.tsx feat(skill): add file right-click/more menu and refactor naming 2026-01-15 17:26:12 +08:00
sidebar-search-add.tsx refactor(skill): migrate skill editor store to workflow store slice injection 2026-01-16 13:51:49 +08:00
sidebar.tsx chore: remove useless props 2026-01-15 11:24:59 +08:00
skill-doc-editor.tsx fix(skill): add key prop to editors to fix content sync on tab switch 2026-01-16 13:51:50 +08:00
skill-page-layout.tsx chore: remove useless props 2026-01-15 11:24:59 +08:00
type.ts refactor(skill-editor): extract hooks and utils into separate directories 2026-01-15 16:00:42 +08:00